• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[7.7] RealOTS 7.7 Cipsoft files (virgin)

@Toor Mind explaining these changes you've made? I understand the changes of the libs and the email addresses you edited, but these seem so random and there are a dozen of these small changes. The ASCII doesn't help at all either so I would love to hear how you figured out what these values mean and why you changed them?
QyC99nr.png
 
Btw, here is decompiled spells list. Some words are represented as numbers but you can easily figure them out. For example:

_v32 = "gran";
_v36 = "ura";
_v40 = 135259689;

You can see that 135259689 obviously is "ex"
so 135259689 = ex

by doing this you can find all spells there is. Mind that delete spells doesn't work anymore. (Done via GM report thingy in client)

http://pastebin.com/9FKGUYch
 
@Toor Mind explaining these changes you've made? I understand the changes of the libs and the email addresses you edited, but these seem so random and there are a dozen of these small changes. The ASCII doesn't help at all either so I would love to hear how you figured out what these values mean and why you changed them?
QyC99nr.png

Are you even trying? Sigh... ;-)
Start with a disassembler and learning the basics of ASM.
 
Are you even trying? Sigh... ;-)
Start with a disassembler and learning the basics of ASM.
Haha, yeah, I know about ASM, but not a lot. Just the fact that you know which instructions affect regen and whatnot baffles me. Did you use a debugger of some sort on the server? I mean, ASM is only basic operations, but how you found what is where is what baffles me. I mean there are millions of jmps, adds, subs, movs and so forth x)
 
SecsPerMana, is it your doing Toor? Found it under the Event::food function, that's the only variable the decompiler figured out the name of :p
 
I close all proc query,otserv,game.Run query /game and i have problem in run game..

Code:
Tibia Game-Server
(c) by CIP Productions, 2003.

InitLog: Kann Protokoll game nicht anlegen.
error.log: InitLog: Kann Protokoll game nicht anlegen.
InitSignalHandler: 21 Signalhandler eingerichtet (Soll=28)
Verwende eigene Stacks.
Starte Game-Server...
Pid 31722 - horche an Port 7170
LaunchServer: Fehler 99 bei bind.
error.log: LaunchServer: Fehler 99 bei bind.
Bind Error Again -> Begin FloodBind :(

fix?
 
I close all proc query,otserv,game.Run query /game and i have problem in run game..

Code:
Tibia Game-Server
(c) by CIP Productions, 2003.

InitLog: Kann Protokoll game nicht anlegen.
error.log: InitLog: Kann Protokoll game nicht anlegen.
InitSignalHandler: 21 Signalhandler eingerichtet (Soll=28)
Verwende eigene Stacks.
Starte Game-Server...
Pid 31722 - horche an Port 7170
LaunchServer: Fehler 99 bei bind.
error.log: LaunchServer: Fehler 99 bei bind.
Bind Error Again -> Begin FloodBind :(

fix?

Make sure the server IP address & port are free to use.
 
I open all ports. None service using port 7170,7171,7172,7173,7174,17778.

Log Query:

Code:
Authentication packet (0x00)
unknown: 1
password: a6glaf0c
worldname: RealOTS
Wrote 3 bytes to socket.
Packet Type: 0
data: 0x01 0x08 0x00 0x61 0x36 0x67 0x6c 0x61 0x66 0x30 0x63 0x07 0x00 0x52 0x65 0x61 0x6c 0x4f 0x54 0x53 0x00
 
Code:
[root@localhost Pulpit]# netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address  Foreign Address  State  PID/Program name   
tcp  0  0 0.0.0.0:17778  0.0.0.0:*  LISTEN  34563/./querymanage
tcp  0  0 127.0.0.1:631  0.0.0.0:*  LISTEN  1104/cupsd   
tcp  0  0 127.0.0.1:25  0.0.0.0:*  LISTEN  2329/master   
tcp6  0  0 ::1:631  :::*  LISTEN  1104/cupsd
 
Haha, yeah, I know about ASM, but not a lot. Just the fact that you know which instructions affect regen and whatnot baffles me. Did you use a debugger of some sort on the server? I mean, ASM is only basic operations, but how you found what is where is what baffles me. I mean there are millions of jmps, adds, subs, movs and so forth x)

I've probably forgotten more than you've ever learned about reverse engineering. A good starting point is http://www.backerstreet.com/rec/rec.htm :)
Also, in your diff, when you see two changed consecutive bytes you can assume it's an integer larger than 256 and you'll need to read the binary in reverse order. (e.g. 0x3502 is is 0x0235) and you can infer the meaning. I don't know which modified game binary is out there. In some version I even took out the anti luring code. Have fun studying :)
 
I open all ports. None service using port 7170,7171,7172,7173,7174,17778.

Log Query:

Code:
Authentication packet (0x00)
unknown: 1
password: a6glaf0c
worldname: RealOTS
Wrote 3 bytes to socket.
Packet Type: 0
data: 0x01 0x08 0x00 0x61 0x36 0x67 0x6c 0x61 0x66 0x30 0x63 0x07 0x00 0x52 0x65 0x61 0x6c 0x4f 0x54 0x53 0x00
Code:
[root@localhost Pulpit]# netstat -plnt
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address  Foreign Address  State  PID/Program name  
tcp  0  0 0.0.0.0:17778  0.0.0.0:*  LISTEN  34563/./querymanage
tcp  0  0 127.0.0.1:631  0.0.0.0:*  LISTEN  1104/cupsd  
tcp  0  0 127.0.0.1:25  0.0.0.0:*  LISTEN  2329/master  
tcp6  0  0 ::1:631  :::*  LISTEN  1104/cupsd
I close all proc query,otserv,game.Run query /game and i have problem in run game..

Code:
Tibia Game-Server
(c) by CIP Productions, 2003.

InitLog: Kann Protokoll game nicht anlegen.
error.log: InitLog: Kann Protokoll game nicht anlegen.
InitSignalHandler: 21 Signalhandler eingerichtet (Soll=28)
Verwende eigene Stacks.
Starte Game-Server...
Pid 31722 - horche an Port 7170
LaunchServer: Fehler 99 bei bind.
error.log: LaunchServer: Fehler 99 bei bind.
Bind Error Again -> Begin FloodBind :(

fix?


Please help!
 
I've probably forgotten more than you've ever learned about reverse engineering. A good starting point is http://www.backerstreet.com/rec/rec.htm :)
Also, in your diff, when you see two changed consecutive bytes you can assume it's an integer larger than 256 and you'll need to read the binary in reverse order. (e.g. 0x3502 is is 0x0235) and you can infer the meaning. I don't know which modified game binary is out there. In some version I even took out the anti luring code. Have fun studying :)
Thank you for explaining, I mapped all the changes in an adress list so I'm gonna dig down and check it out later :)
 
I'm paying a good price if someone help me how to run the files in teamviewer :D
 
I've probably forgotten more than you've ever learned about reverse engineering. A good starting point is http://www.backerstreet.com/rec/rec.htm :)
Also, in your diff, when you see two changed consecutive bytes you can assume it's an integer larger than 256 and you'll need to read the binary in reverse order. (e.g. 0x3502 is is 0x0235) and you can infer the meaning. I don't know which modified game binary is out there. In some version I even took out the anti luring code. Have fun studying :)
I see that you've changed (or someone else) on a couple of places
40 06 -> 640 = 1600 to
20 03 -> 320 = 800

I wonder what it is, only thing that comes to mind is mana for ultimate explosion. But was it really 1600 on virgin Tibia? Hm! This is fun and interesting.
 
I'll see if I can make a virtual machine containing a full working server (I mean a vm that contains a virtualbox or vmware player with all the servers needed to run this version) that anyone can use for learning purposes.
 
Back
Top