Wl Server Source

Talk about helbreath here.
SlammeR
Loyal fan
Posts: 219
Joined: Fri Nov 04, 2005 1:52 am
Location: Brazil

Post by SlammeR »

<3 Hypnotoad... Nice Good Work!
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
Drajwer
&lt;3 bd long time
Posts: 841
Joined: Fri Dec 10, 2004 3:24 pm

Post by Drajwer »

cool ! i think with these sources the "extasis" hack wont exists anymore B) and some more features will be availble...
<img src='http://img440.imageshack.us/img440/2627/15pt.jpg' border='0' alt='user posted image' /><br><br>HBPolska characters:<br><br>Hellios 150+ Aresden Hero Mage<br>TheBill 120 Aresden plrider<br>Kill_Me 100 Full-Hero plrider<br>Rockeater 110+ Aresden Plate Mage<br><br><a href='http://www.helbreath.org' target='_blank'>http://www.helbreath.org</a> come and play (250 ppl online)
Hypnotoad
Member
Posts: 100
Joined: Wed Apr 28, 2004 8:16 pm

Post by Hypnotoad »

Was looking at the packets and DAMN i figured out why it lags so much during crusade. Drajwer you play hbpl you notice the lag too? There are a few things hgservers can do to reduce strain on Worldlog saving they can severly limit warehouse items of characters AND they can change all items into a number instead of a name and chance the spaces between itemname id.... DAMN its alot of info everytime someone switches zones. I can see why they switched to sql. Too much lag if too much people active and switching zones.

Also can you explain what extasis hack is? In WLServer.cfg you can add "game-server-list = " and lin 3.51 bAccept has code which prevents ""<%d> <%s> Unauthorized Access", i, m_pClientList->m_cIPaddress"

anyway making more progress

Fixed:
- players data save when logout, switch zones
- temp/permanent disabled pressing home until after all sockets are connected to prevent "world server not active" on client bug...
- delete character works
- creating new character when atleast 1 char exist doesnt update screen
- HGServers not on "game-server-list" are blocked

Known issues:
- switching between zones stalls

Will keep updating in this post.
<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
o.0
noob
Posts: 17
Joined: Wed May 03, 2006 3:23 pm

Post by o.0 »

nice :lol:
uusmart
noob
Posts: 23
Joined: Sun Aug 08, 2004 4:46 pm

Post by uusmart »

does providing the source download?
Ace
Regular
Posts: 68
Joined: Sat Apr 03, 2004 5:14 am

Post by Ace »

got other links ? cant download <_< :( :( :) B)
Dshaked
&lt;3 bd long time
Posts: 747
Joined: Tue Oct 11, 2005 6:40 pm

Post by Dshaked »

When you will release the source :D?
Old Helbreath Nemesis Player<br><img src='http://img232.imageshack.us/img232/9784/dshakedqc5.jpg' border='0' alt='user posted image' /><br><img src='http://img232.imageshack.us/img232/6475 ... barqj0.jpg' border='0' alt='user posted image' /><br><a href='index.php?showtopic=7107&hl=' target='_blank'>MainServer Hexing Tutorial</a><br><a href='index.php?showtopic=7663&hl=x-mas' target='_blank'>My Files</a>
Hypnotoad
Member
Posts: 100
Joined: Wed Apr 28, 2004 8:16 pm

Post by Hypnotoad »

Depends how fast i finish. Today is dedicated to checking and fixing all the previously coded things to make sure no major errors. Tomorrow is write and check guild making functions. If anyone can send me a zip or attach a zip file which has a few Guild\ folders thats appreciated save me some time. Sunday and monday will be final check of source and commenting :-). Release 22nd.
<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
Dshaked
&lt;3 bd long time
Posts: 747
Joined: Tue Oct 11, 2005 6:40 pm

Post by Dshaked »

I make guilds, and send guild files for you, or what?
Old Helbreath Nemesis Player<br><img src='http://img232.imageshack.us/img232/9784/dshakedqc5.jpg' border='0' alt='user posted image' /><br><img src='http://img232.imageshack.us/img232/6475 ... barqj0.jpg' border='0' alt='user posted image' /><br><a href='index.php?showtopic=7107&hl=' target='_blank'>MainServer Hexing Tutorial</a><br><a href='index.php?showtopic=7663&hl=x-mas' target='_blank'>My Files</a>
Dax
&lt;3 bd long time
Posts: 785
Joined: Mon Apr 18, 2005 3:19 pm

Post by Dax »

Hypnotoad wrote: Was looking at the packets and DAMN i figured out why it lags so much during crusade. Drajwer you play hbpl you notice the lag too? There are a few things hgservers can do to reduce strain on Worldlog saving they can severly limit warehouse items of characters AND they can change all items into a number instead of a name and chance the spaces between itemname id.... DAMN its alot of info everytime someone switches zones. I can see why they switched to sql. Too much lag if too much people active and switching zones.
In the 2.20 HG Source STech added a new bool to check for updated warehouses. And there are a lot of other methods to reduce the work load on the server which i'm sure will become apparent in good time. Great job hypno this is going to be a great addition to the development of priv hb.
Reppin' 127.0.0.1!!!<br><br><img src='http://img502.imageshack.us/img502/1348/sig4daxbn2.jpg' border='0' alt='user posted image' /><br><br>I contend that we are both atheists. I just believe in one fewer god than you do. <br>When you understand why you dismiss all the other possible gods, you will <br>understand why I dismiss yours.<br>~ <b>Stephen Roberts</b>
sokol
Loyal fan
Posts: 228
Joined: Mon May 02, 2005 7:28 pm
Location: P(r)oland

Post by sokol »

Nice Hypno ;)
Hypnotoad
Member
Posts: 100
Joined: Wed Apr 28, 2004 8:16 pm

Post by Hypnotoad »

anyone have these files: Teleport.cfg, World.cfg, WLserver.cfg?? is this the same file?, NpcItem.cfg
<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
SlammeR
Loyal fan
Posts: 219
Joined: Fri Nov 04, 2005 1:52 am
Location: Brazil

Post by SlammeR »

Hypnotoad wrote: anyone have these files: Teleport.cfg, World.cfg, WLserver.cfg?? is this the same file?, NpcItem.cfg
Yup!
OWNED!<br><img src='http://img50.imageshack.us/img50/1386/p ... 3vsqn2.gif' border='0' alt='user posted image' /><br><br><img src="http://hbtop50.com/button.php?u=hbuonline" alt="Helbreath Top 50 - Keepin' it real." border="0" /><br><a href='http://www.hbuonline.net' target='_blank'>Helbreath United</a>
Hypnotoad
Member
Posts: 100
Joined: Wed Apr 28, 2004 8:16 pm

Post by Hypnotoad »

Dax wrote:
Hypnotoad wrote: Was looking at the packets and DAMN i figured out why it lags so much during crusade.  Drajwer you play hbpl you notice the lag too?  There are a few things hgservers can do to reduce strain on Worldlog saving they can severly limit warehouse items of characters AND they can change all items into a number instead of a name and chance the spaces between itemname          id.... DAMN its alot of info everytime someone switches zones.  I can see why they switched to sql.  Too much lag if too much people active and switching zones.
In the 2.20 HG Source STech added a new bool to check for updated warehouses. And there are a lot of other methods to reduce the work load on the server which i'm sure will become apparent in good time. Great job hypno this is going to be a great addition to the development of priv hb.
what stech did was just turn the file into sql. For example this is the packet which is sent right now if not using SQL.

MSGID -> 0x0DF3074F
DATA -> 4F 07 F3 0D 14 0F 74 65 73 74 65 66 65 67 33 67    O.....testefeg3g
DATA -> 41 00 00 00 00 00 00 00 00 00 61 00 00 00 00 00    A.........a.....
DATA -> 00 00 00 00 01 5B 46 49 4C 45 2D 44 41 54 45 5D    .....[FILE-DATE]
DATA -> 0A 0A 66 69 6C 65 2D 73 61 76 65 64 2D 64 61 74    ..file-saved-dat
DATA -> 65 3A 20 32 30 30 36 20 35 20 31 39 20 31 38 20    e: 2006 5 19 18
DATA -> 35 38 0A 0A 5B 4E 41 4D 45 2D 41 43 43 4F 55 4E    58..[NAME-ACCOUN
DATA -> 54 5D 0A 0A 63 68 61 72 61 63 74 65 72 2D 6E 61    T]..character-na
DATA -> 6D 65 20 20 20 20 20 3D 20 74 65 73 74 65 66 65    me    = testefe
DATA -> 67 33 67 0A 61 63 63 6F 75 6E 74 2D 6E 61 6D 65    g3g.account-name
DATA -> 20 20 20 20 20 20 20 3D 20 41 0A 0A 5B 53 54 41          = A..[STA
DATA -> 54 55 53 5D 0A 0A 63 68 61 72 61 63 74 65 72 2D    TUS]..character-
DATA -> 70 72 6F 66 69 6C 65 20 09 3D 5F 5F 5F 5F 5F 5F    profile .=______
DATA -> 5F 5F 5F 5F 0A 63 68 61 72 61 63 74 65 72 2D 6C    ____.character-l
DATA -> 6F 63 61 74 69 6F 6E 20 20 20 3D 20 4E 4F 4E 45    ocation  = NONE
DATA -> 0A 63 68 61 72 61 63 74 65 72 2D 67 75 69 6C 64    .character-guild
now this can become very straining. What stech did was change that to this:

testefe A __________ NONE

instead of having it where the packets include stuff like character-location and account-name they just sent the data to be handled by sql. This is a great idea and it is compatibale with current servers.

now if we take hgserver and make them create the packet like that "testefe A __________ NONE" and at the wordlog we make it take the packet and break it down then do something like:

Code: Select all

wsprintf(cTxt, "character-location= %s", cLocation);
	strcat(pData, cTxt);


that way we would dramatically reduce by 70% the packet sizes sent by both hgserver to worldlog on save and worldlog to hgserver on login.

Well using items and logging now works as well it sends teleport.cfg, npcitem.cfg, world.cfg
<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
Ace
Regular
Posts: 68
Joined: Sat Apr 03, 2004 5:14 am

Post by Ace »

Hypnotoad .. why your link always cant download ??? <_< :( :(
Post Reply