Worldlserver Source

All Helbreath Server Source Discussion here.
Post Reply
Hypnotoad
Member
Posts: 100
Joined: Wed Apr 28, 2004 8:16 pm

Post by Hypnotoad »

recoding packet structure, removed item-position-x, position-y, and equipment status, and will changed item name to item ID :

Code: Select all

MSGID -> 0x0C152211
DATA -> 11 22 15 0C 14 0F 4A 65 73 73 79 00 00 00 00 00    ."....Jessy.....
DATA -> 00 00 00 00 00 00 01 A7 0F 02 01 00 13 00 1D 00    ................
DATA -> 17 00 24 00 0A 00 0C 00 0E 00 5F 2E 00 00 03 00    ..$......._.....
DATA -> 00 00 00 00 00 00 00 00 00 00 02 01 00 06 00 09    ................
DATA -> 00 00 00 00 90 00 60 90 06 20 00 01 00 00 00 4E    ......`.. .....N
DATA -> 4F 4E 45 00 00 00 00 00 00 65 6C 76 66 61 72 6D    ONE......elvfarm
DATA -> 00 00 00 FF FF FF FF 5F 5F 5F 5F 5F 5F 5F 5F 5F    ......._________
DATA -> 5F 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    _...............
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 39 03 00 00 4E 4F 4E 45 00 00 00 00 00 00 00    .9...NONE.......
DATA -> 00 00 00 00 00 00 00 00 00 4E 4F 4E 45 00 00 00    .........NONE...
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 FF FF FF    ................
DATA -> FF FF FF 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 91 0D 03 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 79 00 00 00    ............y...
DATA -> 41 00 00 00 1B 00 00 00 00 00 00 00 00 00 00 00    A...............
DATA -> 00 00 00 00 64 00 01 00 00 00 00 00 00 00 00 00    ....d...........
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 30 30 30 30 30 30 30 30 30 30 30 30    ....000000000000
DATA -> 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30    0000000000000000
DATA -> 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30    0000000000000000
DATA -> 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30    0000000000000000
DATA -> 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30    0000000000000000
DATA -> 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30    0000000000000000
DATA -> 30 30 30 30 30 30 30 30 FF FF 00 00 0A 00 44 61    00000000......Da
DATA -> 67 67 65 72 00 00 00 00 00 00 00 00 00 00 00 00    gger............
DATA -> 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 2C 01 00 00 00 00 00 00 00 28    ......,........(
DATA -> 00 1E 00 52 65 63 61 6C 6C 53 63 72 6F 6C 6C 00    ...RecallScroll.
DATA -> 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 2C 01 00 00 00    ...........,....
DATA -> 00 00 00 00 28 00 1E 00 42 69 67 52 65 64 50 6F    ....(...BigRedPo
DATA -> 74 69 6F 6E 00 00 00 00 00 00 00 00 01 00 00 00    tion............
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 2C 01 00 00 00 00 00 00 00 28 00 1E 00 42 69 67    ,........(...Big
DATA -> 47 72 65 65 6E 50 6F 74 69 6F 6E 00 00 00 00 00    GreenPotion.....
DATA -> 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 2C 01 00 00 00 00 00 00 00 28 00    .....,........(.
DATA -> 1E 00 42 69 67 42 6C 75 65 50 6F 74 69 6F 6E 00    ..BigBluePotion.
DATA -> 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 2C 01 00 00 00 00    ..........,.....
DATA -> 00 00 00 28 00 1E 00 4D 61 70 00 00 00 00 00 00    ...(...Map......
DATA -> 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 2C    ...............,
DATA -> 01 00 00 00 00 00 00 00 28 00 1E 00 43 68 65 6D    ........(...Chem
DATA -> 69 73 65 28 57 29 00 00 00 00 00 00 00 00 00 00    ise(W)..........
DATA -> 01 00 00 00 00 00 00 00 00 00 00 00 09 00 00 00    ................
DATA -> 00 00 00 00 2C 01 00 00 01 00 00 00 00 28 00 1E    ....,........(..
DATA -> 00 47 6F 6C 64 00 00 00 00 00 00 00 00 00 00 00    .Gold...........
DATA -> 00 00 00 00 00 44 00 00 00 02 00 05 30 BF 76 09    .....D......0.v.
DATA -> 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 28 00 1E 00 53 68 6F 72 74 53 77 6F 72 64    ..(...ShortSword
DATA -> 00 00 00 00 00 00 00 00 00 00 01 00 00 00 02 00    ................
DATA -> 35 5B 1E 41 09 02 06 00 00 00 00 00 00 00 F4 01    5[.A............
DATA -> 00 00 00 23 74 00 01 28 00 1E 00 57 6F 6F 64 53    ...#t..(...WoodS
DATA -> 68 69 65 6C 64 00 00 00 00 00 00 00 00 00 00 01    hield...........
DATA -> 00 00 00 02 00 A9 4B EF 2E 09 02 00 00 00 00 00    ......K.........
DATA -> 00 00 00 2C 01 00 00 00 00 84 00 00 28 00 1E 00    ...,........(...
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
DATA -> 00 00 00 00 00 00 00 00 00 00 00                  	...........
[FILE-DATE]

file-saved-date: 2006 5 21 17 14

[NAME-ACCOUNT]

character-name    = Jessy
account-name      = A

[STATUS]

character-profile  =__________
character-location  = NONE
character-guild-name = NONE
character-guild-GUID = -1
character-guild-rank = -1
character-loc-map = elvfarm
character-loc-x  = -1
character-loc-y  = -1

character-HP      = 121
character-MP      = 65
character-SP      = 27
character-LEVEL    = 19
character-RATING  = 0
character-STR      = 29
character-INT      = 10
character-VIT      = 23
character-DEX      = 36
character-MAG      = 12
character-CHARISMA = 14
character-LUCK    = 10
character-EXP      = 11871
character-LU_Pool  = 3
character-EK-Count = 0
character-PK-Count = 0
character-reward-gold = 0
character-downskillindex = -1
character-IDnum1 = -22783
character-IDnum2 = 527
character-IDnum3 = 1
party-rank = -1
sex-status      = 2
skin-status      = 1
hairstyle-status = 6
haircolor-status = 9
underwear-status = 0
hunger-status    = 100
timeleft-shutup  = 0
timeleft-rating  = 0
timeleft-force-recall  = 0
timeleft-firm-staminar = 0
admin-user-level = 0
penalty-block-date = 0 0 0
character-quest-number = 0
character-quest-ID    = 0
current-quest-count    = 0
quest-reward-type      = 0
quest-reward-amount    = 0
character-contribution = 0
character-war-contribution = 0
character-quest-completed = 0
special-event-id = 200081
super-attack-left = 1
reserved-fightzone-id = 0 0 0
special-ability-time = 825
locked-map-name = NONE
locked-map-time = 0
crusade-job = 0
crusade-GUID = 0
construct-point = 0
dead-penalty-time = 0
party-id = 0
gizon-item-upgade-left = 0


appr1 = 1680
appr2 = 32
appr3 = 1
appr4 = 0
appr-color = 1610649600

[ITEMLIST]

character-item = Dagger  1 0 0 0 0 0 0 0 0 300 0 0 40 30
character-item = RecallScroll  1 0 0 0 0 0 0 0 0 300 0 0 40 30
character-item = BigRedPotion  1 0 0 0 0 0 0 0 0 300 0 0 40 30
character-item = BigGreenPotion  1 0 0 0 0 0 0 0 0 300 0 0 40 30
character-item = BigBluePotion  1 0 0 0 0 0 0 0 0 300 0 0 40 30
character-item = Map  1 0 0 0 0 0 0 0 0 300 0 0 40 30
character-item = Chemise(W)  1 0 0 0 0 9 0 0 0 300 1 0 40 30
character-item = Gold  68 2 12293 30399 521 0 0 0 0 0 0 0 40 30 
character-item = ShortSword  1 2 23349 16670 521 6 0 0 0 500 7611136 1 40 30
character-item = WoodShield  1 2 19369 12015 521 0 0 0 0 300 8650752 0 40 30




[MAGIC-SKILL-MASTERY]

//------------------012345678901234567890123456789012345678901234567890
magic-mastery    = 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
skill-mastery    = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
skill-SSN    = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

[EOF]


<img src='http://www.playah.no-ip.com/images/Hypn ... imated.gif' border='0' alt='user posted image' />
Calibula
Regular
Posts: 87
Joined: Sun Jul 11, 2004 9:17 am

Post by Calibula »

hypno, u forgot to put the Skills when u start :P U start with 0%... It's very very easy to fix, so anybody can do it... just telling u that bug :P

Bye!
Malcom89
just visiting
Posts: 9
Joined: Thu Apr 13, 2006 4:49 pm

Post by Malcom89 »

Code: Select all

	strcat(pData, "skill-mastery     = ");
	for (i = 0; i < 60; i++) {
  ZeroMemory(cTxt, sizeof(cTxt));
  wsprintf(cTxt, "%d ", 0);
  strcat(pData, cTxt);
What i have to change to make 100% start skills?

Code: Select all

wsprintf(cTxt, "%d ", 100);

?? :blink:
Treax2
Loyal fan
Posts: 281
Joined: Fri Mar 04, 2005 5:05 pm
Location: Estonia
Contact:

Post by Treax2 »

IT isnt a bug ... i think hypno maded the source like that and ppls can modifie the start skills howerver they want for their server

to malcom->

yes like that ...(it must be)
Jensen
Loyal fan
Posts: 300
Joined: Tue Aug 02, 2005 7:40 am
Location: Illinois, USA
Contact:

Post by Jensen »

when i start using im just going to set to a text string so i can set certain ones indvidually
-><-
xmukox
Member
Posts: 175
Joined: Sun Sep 11, 2005 9:53 am

Post by xmukox »

omfg why i have that fucking error... '' Init fail - Missing required.cfg files!'' o_O some one can help my?:P
Dshaked
&lt;3 bd long time
Posts: 747
Joined: Tue Oct 11, 2005 6:40 pm

Post by Dshaked »

You need add WLConfig to your server file folder.
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>
xmukox
Member
Posts: 175
Joined: Sun Sep 11, 2005 9:53 am

Post by xmukox »

i know but meby you have that cfg... if yes please give my url or give my to xmukox@o2.pl thenks...

ohh sry stupid question ^^ i have cfg in sources ^^
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Did any of you had a problem that using this WorldServerSource and going from differents HGServers your client get auto self logged out?...starts counting from 5..4..3..2..1..with no message at all logs you out, like if another person was trying to access your account.
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
juggalo2
Spamtastic
Posts: 1144
Joined: Sun Jul 17, 2005 5:28 pm

Post by juggalo2 »

Did any of you had a problem that using this WorldServerSource and going from differents HGServers your client get auto self logged out?...starts counting from 5..4..3..2..1..with no message at all logs you out, like if another person was trying to access your account.
loco i didnt have this problem but ill etsted but withb ur server i thinks ur useing 2 difent hg servers thats why it dose it if 1 hg has somthinsg esled add3ed into and teh others dosnt ahve it it will force log u out
<img src='http://lifeplaysu420.com/unknow/nightsign.png' border='0' alt='user posted image' /><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Wanna make money for surfing the net sing up at <br><a href='http://www.cashfiesta.com/php/join.php? ... yprivitera' target='_blank'>cash fiesta</a><br>its all free hey why ntot make money while fucking around on the computer<br><br><br>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

juggalo2 wrote:
Did any of you had a problem that using this WorldServerSource and going from differents HGServers your client get auto self logged out?...starts counting from 5..4..3..2..1..with no message at all logs you out, like if another person was trying to access your account.
loco i didnt have this problem but ill etsted but withb ur server i thinks ur useing 2 difent hg servers thats why it dose it if 1 hg has somthinsg esled add3ed into and teh others dosnt ahve it it will force log u out
Na it's not that.
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Slipknight
Loyal fan
Posts: 423
Joined: Thu Apr 07, 2005 7:53 pm

Post by Slipknight »

im also having that problem loco but im not even usuing this WL source just a normal 3.51 wl server.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
BlueChristmas
Loyal fan
Posts: 216
Joined: Wed Apr 19, 2006 12:19 am

Post by BlueChristmas »

Slipknight wrote: im also having that problem loco but im not even usuing this WL source just a normal 3.51 wl server.
are you behind a router?
<img src='http://img114.imageshack.us/img114/8618 ... 2dy3lx.jpg' border='0' alt='user posted image' />
locobans
Outpost Junkie
Posts: 2264
Joined: Tue Jul 13, 2004 3:51 am
Location: Behind You
Contact:

Post by locobans »

Normal WorldServer worked before...update to this one...facing that problem.

For Hypnotoad to explain me...
(2006: 5:30: 0: 0) - (TestLog) ReqEnterGame: Accnt(Test1) Pass(testpass) Char(Test1) Map(huntzone1) Addr(xx.xx.xxx.xxx) Port(xxxx) Code(0)
(2006: 5:30: 0: 0) - <89> Connection Lost! Delete Client.
(2006: 5:30: 0: 0) - (TestLog) Verify Character Integrity (Character\\AscII87\\Test1.txt)
(2006: 5:30: 0: 0) - (TestLog) Send character(Test1) data...
(2006: 5:30: 0: 0) - (TestLog) ERROR! Account(Test1) Password or level mismatch. Request Game Server to disconnect without data save...
(2006: 5:30: 0: 0) - (TestLog) testpass -   131 - 131

On HGServers appears:
<3> Force disconnect account: CharName(Test1) AccountName(Test1) Count(3860)
Then it start disconnecting the character...

(2006: 5:30: 0: 0) - (O) Character data file saved : Name(Test1)
(2006: 5:30: 0: 0) - (TestLog) Account(Test1) log out request to MLS...
(2006: 5:30: 0: 0) - (TestLog) Set account(Test1) connection status NULL...
(2006: 5:30: 0: 0) - (TestLog) Getting character data in account(Test1)-ID(65850988)...
(2006: 5:30: 0: 0) - (TestLog) Total Char: 4
(2006: 5:30: 0: 0) - (TestLog) Getting character file Character\\AscII76\\Loser.txt
(2006: 5:30: 0: 0) - (TestLog) Getting character file Character\\AscII82\\Roaver.txt
(2006: 5:30: 0: 0) - (TestLog) Getting character file Character\\AscII69\\Equinox.txt
(2006: 5:30: 0: 0) - (TestLog) Getting character file Character\\AscII87\\Test1.txt
(2006: 5:30: 0: 0) - (TestLog) Set account(Test1)-Level(131) connection status INIT...
(2006: 5:30: 0: 0) - (TestLog) Verify Character Integrity (Character\\AscII87\\Test1.txt)
(2006: 5:30: 0: 0) - (TestLog) Send character(Test1) data...
(2006: 5:30: 0: 0) - (TestLog) Set account(Test1) connection status PLAYING(create & set)...
When to source...Under function EnterGameConfirm
switch(iGetCharacterInformation(cAccountName, cCharNameCheck, &iCheckLevel)) {
case 1:
case 2:
  if ((strcmp(cCharacterName, cCharNameCheck) != FALSE) || (iCheckLevel != iLevel)) {
   wsprintf(G_cTxt, "(TestLog) ERROR! Account(%s) Password or level mismatch. Request Game Server to disconnect without data save...", cAccountName);
   PutLogList(G_cTxt);
   wsprintf(G_cTxt, "(TestLog) %s - %s  %d - %d", cCharacterName, cCharNameCheck, iLevel, iCheckLevel);
   PutLogList(G_cTxt);
   dwp = (DWORD *)(cTemp);
   *dwp = MSGID_REQUEST_FORCEDISCONECTACCOUNT;
   wp  = (WORD *)(cTemp + DEF_INDEX2_MSGTYPE);
   *wp = DEF_MSGTYPE_CONFIRM;
   cp  = (char *)(cTemp + DEF_INDEX2_MSGTYPE + 2);
   memcpy(cp, cAccountName, 10);
   cp += 10;
Like...this only checks cCharacterName/cCharNameCheck and iCheckLevel/iLevel but what does those variables refer too...didin't had time go and look trough the source, mostly CharacterName = Character's Name, and the CharNameCheck comes from.... :rolleyes:

Edit: Can you force logout a character :rolleyes:
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Slipknight
Loyal fan
Posts: 423
Joined: Thu Apr 07, 2005 7:53 pm

Post by Slipknight »

BlueChristmas wrote:
Slipknight wrote: im also having that problem loco but im not even usuing this WL source just a normal 3.51 wl server.
are you behind a router?
No and this has only started happening recently, probably due to me changing smthen, but w/e i'll figure it out.
<img src='http://www.bleachportal.net/interactive ... irjjkt.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/Slipknot%20Fan.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/UT2004%20Player.jpg' border='0' alt='user posted image' /><br><img src='http://www.hazegfx.com/UserBanners/AC%20DC%20Fan.png' border='0' alt='user posted image' /><br>
Post Reply