TRO Fix 2008-09-16 (Satan Morocc)

Wrote new code? Fixed a bug? Want to discuss technical stuff? Feel free to post it here.

Moderator: Moderators

heero
Super Moderators
Super Moderators
Posts: 158
Joined: 04 Apr 2008, 11:12

Re: TRO Fix 2008-09-16 (Satan Morocc)

#31 Post by heero »

XKore 1 is now working and I have commited these new changes to SVN

UltimaWeapon can you test out the modifications I made and see if you dont have problems with your server.
RoBo
Noob
Noob
Posts: 9
Joined: 04 Apr 2008, 10:29
Noob?: Yes
Location: Bkk Thailand

Re: TRO Fix 2008-09-16 (Satan Morocc)

#32 Post by RoBo »

Successful botting on Official tRO server with the following modifications;
- Use server type 21
- update recvpackets.txt
- apply trologin.pl plugins

bot works fine without DMG: 0 + 2816 problems

Thank you.
RoBo
Noob
Noob
Posts: 9
Joined: 04 Apr 2008, 10:29
Noob?: Yes
Location: Bkk Thailand

Re: TRO Fix 2008-09-16 (Satan Morocc)

#33 Post by RoBo »

There is some problems with server type 21;

I can't execute console command started with ; character from Ragnarok client.
;exp ;ml ...

I can use those command with server type 0 .
UltimaWeapon
Human
Human
Posts: 37
Joined: 04 Apr 2008, 22:55
Noob?: Yes
Location: Thailand

Re: TRO Fix 2008-09-16 (Satan Morocc)

#34 Post by UltimaWeapon »

Fixed with this patch.

Code: Select all

Index: src/functions.pl

===================================================================

--- src/functions.pl	(revision 6624)

+++ src/functions.pl	(working copy)

@@ -990,7 +990,7 @@

 		}
 		#undef $sendMsg;
 
-	} elsif (($switch eq "008C" && ($masterServer->{serverType} == 0 || $masterServer->{serverType} == 1 || $masterServer->{serverType} == 2 || $masterServer->{serverType} == 6 || $masterServer->{serverType} == 7 || $masterServer->{serverType} == 10 || $masterServer->{serverType} == 11)) ||
+	} elsif (($switch eq "008C" && ($masterServer->{serverType} == 0 || $masterServer->{serverType} == 1 || $masterServer->{serverType} == 2 || $masterServer->{serverType} == 6 || $masterServer->{serverType} == 7 || $masterServer->{serverType} == 10 || $masterServer->{serverType} == 11 || $masterServer->{serverType} == 21)) ||
 		($switch eq "00F3" && ($masterServer->{serverType} == 3 || $masterServer->{serverType} == 5 || $masterServer->{serverType} == 8 || $masterServer->{serverType} == 9 || $masterServer->{serverType} == 15)) ||
 		($switch eq "009F" && $masterServer->{serverType} == 4) ||
 		($switch eq "007E" && $masterServer->{serverType} == 12) ||
I may make you misunderstand. Because my English isn't good enough. So Sorry.
Image
dunce209
Noob
Noob
Posts: 12
Joined: 26 Jun 2008, 15:04
Noob?: No

Re: TRO Fix 2008-09-16 (Satan Morocc)

#35 Post by dunce209 »

With the recent update of 12.0 on iRO, I have gotten this same error of 02EB, and I have applied this patch. My bot is up and running however, I now get another unknown packet 016C. The bot is still working and running but it troubles me so. Also it seems xKore doesn't work. I downloaded the latest on svn I believe.

*edited*
Oh wait what update is tRO on? is it 12.1 update? that might be why it works partially here on iRO, xkore doesn't seem to work.
UltimaWeapon
Human
Human
Posts: 37
Joined: 04 Apr 2008, 22:55
Noob?: Yes
Location: Thailand

Re: TRO Fix 2008-09-16 (Satan Morocc)

#36 Post by UltimaWeapon »

This topic should be explain why you get unknown packet.

http://forums.openkore.com/viewtopic.php?f=36&t=1648

About xkore, What's problem?
I may make you misunderstand. Because my English isn't good enough. So Sorry.
Image
mr nads
Human
Human
Posts: 45
Joined: 01 Oct 2008, 20:39
Noob?: No

Re: TRO Fix 2008-09-16 (Satan Morocc)

#37 Post by mr nads »

I wonder how important the 016C error is.
dunce209
Noob
Noob
Posts: 12
Joined: 26 Jun 2008, 15:04
Noob?: No

Re: TRO Fix 2008-09-16 (Satan Morocc)

#38 Post by dunce209 »

I have very to little experience with hex editing, but I looked at that topic Ultima, but I found the one that kRO uses, not the iRO one, I think that has already gotten modified in iRO's .exe client with the 12.0 update.

Wait WTF, xkore works now..... strange.. but I still do get that unknown packet 016C.
h4rry84
Moderators
Moderators
Posts: 234
Joined: 04 Apr 2008, 09:30
Noob?: Yes
Location: My House

Re: TRO Fix 2008-09-16 (Satan Morocc)

#39 Post by h4rry84 »

Xkore should be work if you're using SVN. unless if you're talking about Xkore2/proxy, as it hasn't been touched.
Iggbert
Noob
Noob
Posts: 15
Joined: 07 Dec 2008, 12:43
Noob?: No

Re: TRO Fix 2008-09-16 (Satan Morocc)

#40 Post by Iggbert »

I understand that you guys are getting it to work correctly but the rest of us idiots are having trouble. Would someone with knowledge of what's going on and a smidge of patience be will to come to http://forums.openkore.com/viewtopic.ph ... &sk=t&sd=a and help us all out? Thanks in advance for anyone that takes the time!