Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[RELEASE] Last Chaos

Status
Not open for further replies.
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Last Chaos

shadow52, dont post any shenanigans here.. >.<

yes it was shenanigans, several parts of that screenshots had proven it.
 
Last edited:
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Last Chaos

Hmm

mobALL_usa.lod from eterniagames is giving me headache (the only LC without EP2)
It looks like there are 2 kinds of structures inside the file.
the mobs with skills have a different structure then the mobs without
And i cant seem to find out what triggers it to choose wich structure. becous its in random order between the file.

First i tought it was the 2 bytes behind the smc file, becous so far all the mobs without skills had the 2 bytes 00 00 and with skills had 02 01 or anything other then 00 00.

But when i came to id 352 the 2 bytes were 00 00, but it did had a skilled attack so my viewer wend crazy.


Everything goes fine until id : 339.
1 till 175 is in server already
1 till 339 are all new mobs/npc's for this server

- Maargadum jail mobs
- Egeha mobs/npc's
- Lust Trum 1-10 mobs
- Merac CastleSiege npc's
- Raidbosses
- Currently missing mobs in Dratan 1.0
- Forgetfulness temple mobs
- Rogue Skill Master


Maybe anyone can try to figure out the mobALL_usa.lod structure becous im blur now..
When i have the structure, i think i can load all 1081 mobs/npc's in the game.

I know that the guy who makes the model viewer for LastChaos knows how it works, but somehow i dont know how to reach him.
 
Last edited:
Newbie Spellweaver
Joined
Apr 10, 2009
Messages
24
Reaction score
1
Re: Last Chaos

@Wizatek: Try with the client's last chaos of Brazil. (Last War)



He still is not episode 2.
 
Junior Spellweaver
Joined
Sep 6, 2006
Messages
119
Reaction score
0
Re: Last Chaos

Bilagames Client
 
Newbie Spellweaver
Joined
Apr 10, 2009
Messages
24
Reaction score
1
Re: Last Chaos

Yes, Tomara que tenha algum progresso em breve =D
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Last Chaos

Yes, well i haven the malaysian client also, that one is also in english.
But that client doesnt have the juno, merac and egeha cave mobs :p

When i go for it, i want all :p
I know Eterniagames has all mobs, even Mondshine mobs, but with an EP1 client database.

Isnt LastWar in brazillian ?
 
Banned
Banned
Joined
Sep 6, 2007
Messages
834
Reaction score
167
Re: Last Chaos

First off all u need a client playable and after that u can add new things, is hard to set up fully working without a beta test to see know bugs.

I will start a hard work at binaries to see how it are working.

---------- Post added at 07:07 AM ---------- Previous post was at 07:05 AM ----------

First off all u need a client playable and after that u can add new things, is hard to set up fully working without a beta test to see know bugs.

I will start a hard work at binaries to see how it are working.
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Last Chaos

hehe im waiting for a good client for ages.

binaries, ASM, and debugging is not my thing, way out of my leage.
I do this just for fun ;)

Hope u will find out 1 or 2 terzo .^^
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Last Chaos

Hmm, seems like mobALL.lod isnt the biggest handler here.
Adding the mobs to the database and to mobALL.lod doesnt do much.

The place it really reads from are the mob0_c.lod - mob8_c.lod.
I tryd adding records to that but it just doesnt read that sadly.

the newer clients also dont use those files, tho the malaysian client does.
The file structure is completely the same, but still when i try to summon them, some of the new mobs, maybe 4 or 5 will appear, but in the GM console i can see that most data is handled wrong and show up as the default model.

Maybe someone can help me look into the .lod files and try to unveil secrets in the structure. Making an editor for it is not a problem for me
 
Last edited:
Junior Spellweaver
Joined
Mar 5, 2007
Messages
177
Reaction score
109
Re: Last Chaos

please up server in megaupload

sorry 3 posts, laggg!
 
Last edited:
Junior Spellweaver
Joined
Mar 5, 2007
Messages
177
Reaction score
109
Re: Last Chaos

please up server in megaupload


sorry 3 posts, laggg!
 
Last edited:
Junior Spellweaver
Joined
Mar 5, 2007
Messages
177
Reaction score
109
Re: Last Chaos

please up server in megaupload

---------- Post added at 06:56 PM ---------- Previous post was at 06:51 PM ----------

sorry 3 posts, laggg!
 
Junior Spellweaver
Joined
Mar 5, 2007
Messages
177
Reaction score
109
Re: Last Chaos

help mysql erro

\UserDB\newproject_data.sql

[Err]
[Err]
[Err]
[Err]
[Err] 1100 - Table 't_shop' was not locked with LOCK TABLES
[Err] --
-- Dumping data for table `t_shop`
--


/*!40000 ALTER TABLE t_shop DISABLE KEYS */;
 
Newbie Spellweaver
Joined
Jun 2, 2008
Messages
5
Reaction score
14
Re: Last Chaos

Hmm, seems like mobALL.lod isnt the biggest handler here.
Adding the mobs to the database and to mobALL.lod doesnt do much.

The place it really reads from are the mob0_c.lod - mob8_c.lod.
I tryd adding records to that but it just doesnt read that sadly.

the newer clients also dont use those files, tho the malaysian client does.
The file structure is completely the same, but still when i try to summon them, some of the new mobs, maybe 4 or 5 will appear, but in the GM console i can see that most data is handled wrong and show up as the default model.

Maybe someone can help me look into the .lod files and try to unveil secrets in the structure. Making an editor for it is not a problem for me

it's a really easy format:

it's easy to add more monsters,

but your wrong, the old client has a hardcoded limit, it's a combination of hardcoded values and memory allocation,
example:

Code:
.text:102609C8                 call    ?StringDuplicate@@YAPADPBD@Z ; StringDuplicate(char const *)
.text:102609CD                 mov     [ebp+var_10], eax
.text:102609D0                 mov     ebx, 2
.text:102609D5                 push    8             ; unsigned int
.text:102609D7                 mov     byte ptr [ebp+var_4], bl
.text:102609DA                 call    ??2@YAPAXI@Z    ; operator new(uint)
.text:102609DF                 add     esp, 10h
.text:102609E2                 mov     [esi+8], eax
.text:102609E5
.text:102609E5 loc_102609E5:                           ; CODE XREF: sub_10260980+F2
.text:102609E5                 push    edi
.text:102609E6                 lea     eax, [ebp+var_10]
.text:102609E9                 push    offset aItembtnD_tex ; "ItemBtn%d.tex"
.text:102609EE                 push    eax
.text:102609EF                 call    ?PrintF@CTString@@QAAJPBDZZ ; CTString::PrintF(char const *,...)
.text:102609F4                 add     esp, 0Ch
...

this is a the loading part from ItemBtn%d.tex and if you know a bit about ASM you can see why some
of the new items will crash your client,

this is the memory allocation part:
Code:
.text:102609D5                 push    8             ; unsigned int
.text:102609D7                 mov     byte ptr [ebp+var_4], bl
.text:102609DA                 call    ??2@YAPAXI@Z    ; operator new(uint)

in C it would be something like this:

Code:
&varX = operator new(8u);

(8u = 2 * 4 UByte)

Code:
.text:102609D0                 mov     ebx, 2

this is the File limit, it's like

Code:
while(x < 2)

if you translate some more parts of the code.

so changing the 2 into 11 will load ItemBtn0.tex till ItemBtn10.tex
and changing 8 to 44 will allocate 11 * 4 Byte Pointer to load them
this should fix some of the items, but still it's not enough work texture will not load
correctly (don't know why, some other mem allocation problems...)

the client will crash if an item has a 2 or higher in it's texID and only 0 & 1 are loaded
(example: lvl 41 Weapons)

after fixing it:


lvl 41 Weapons work without problems (except the corrupt inventory texture)

it's not easy to update the client if you have no knowledge about asm editing.
 
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Last Chaos

nicely done.
u mind sharing the structure for mobAll.lod ?

but somehow it gets more of its info from the mob00.lod - mob08.lod i noticed. but building new mob00-08 files just dont work right somehow.

I know just enough about ASM to understand what u are telling there. But i would have never found it out myself :p

But what i dont understand is.
if u increase the textid, the client will load and u can wear the item, but the inventory texture is wrong.
but itembtn*d.tex is the inventory texture.

U think u can takeaway the item limit of 800 ?
 
Junior Spellweaver
Joined
Mar 5, 2007
Messages
177
Reaction score
109
Re: Last Chaos

Help Plz..

===============================================================
= Starting Last Chaos Server =
===============================================================
Loading Setting File...
Load setting file....
Cannot Connect DB!!
Load setting file....
Messenger Server Running...
Load setting file....
Connect DB Error!!
Load setting file....
Cannot Connect DB!!

My Database connected in VMWare

darkdeathfox - [RELEASE] Last Chaos - RaGEZONE Forums

darkdeathfox - [RELEASE] Last Chaos - RaGEZONE Forums



CONNECTOR
; ÁÖ¼®¹®Àº óÀ½ ¹®ÀÚ°¡ ¹Ýµå½Ã ¼¼¹ÌÄÝ·Ð(;) À̾î¾ß ÇÏ°í ÀζóÀÎ ÁÖ¼®Àº ºÒ°¡´É
; [±×·ì]
; Çʵå=°ª
; '=' ¾ÕµÚ¿¡´Â °ø¹é ¹®ÀÚ ¾ø°Ô
; °ª¿¡´Â °ø¹é °¡´É
; ÁÖ¼®¹®Àº

[Server]
Number=1
MaxSubServer=1
IP=192.168.28.130
Port=4106


[Auth DB]
IP=127.0.0.1
DBName=LastchaosDB
User=root
Password=giojm007


[User DB]
IP=127.0.0.1
DBName=LastchaosDB
User=root
Password=giojm007

[Billing Server]
IP=127.0.0.1
Port=9999


GAMESERVER
; ÁÖ¼®¹®Àº óÀ½ ¹®ÀÚ°¡ ¹Ýµå½Ã ¼¼¹ÌÄÝ·Ð(;) À̾î¾ß ÇÏ°í ÀζóÀÎ ÁÖ¼®Àº ºÒ°¡´É
; [±×·ì]
; Çʵå=°ª
; '=' ¾ÕµÚ¿¡´Â °ø¹é ¹®ÀÚ ¾ø°Ô
; °ª¿¡´Â °ø¹é °¡´É
; ÁÖ¼®¹®Àº

[Server]
Number=1
SubNumber=1
IP=192.168.28.130
Port=4110
AllowExternalIP=TRUE


[Data DB]
IP=127.0.0.1
DBName=LastchaosData
User=root
Password=giojm007


[Char DB]
IP=127.0.0.1
DBName=LastchaosDB
User=root
Password=giojm007


[Connector Server]
IP=192.168.28.130
Port=4106


[Messenger Server]
IP=192.168.28.130
Port=4100


[Helper Server]
IP=192.168.28.130
Port=4200


HELPER
[Server]
IP=192.168.28.130
Port=4200

[Char DB]
IP=127.0.0.1
DBName=LastchaosDB
User=root
Password=giojm007


LOGINSERVER
; ÁÖ¼®¹®Àº óÀ½ ¹®ÀÚ°¡ ¹Ýµå½Ã ¼¼¹ÌÄÝ·Ð(;) À̾î¾ß ÇÏ°í ÀζóÀÎ ÁÖ¼®Àº ºÒ°¡´É
; [±×·ì]
; Çʵå=°ª
; '=' ¾ÕµÚ¿¡´Â °ø¹é ¹®ÀÚ ¾ø°Ô
; °ª¿¡´Â °ø¹é °¡´É
; ÁÖ¼®¹®Àº

[Server]
IP=192.168.28.130
Port=4101
No=1
AllowExternalIP=TRUE
;AllowExternalIP=FALSE


[Auth DB]
IP=127.0.0.1
DBName=LastchaosDB
User=root
Password=giojm007


[Data DB]
IP=127.0.0.1
DBName=LastchaosData
User=root
Password=giojm007


[User DB]
IP=127.0.0.1
DBName=LastchaosDB
User=root
Password=giojm007


[Messenger Server]
IP=127.0.0.1
Port=4100


[Connector Server]
Count=1


[Connector_0]
Number=1
MaxSubNumber=1
IP=192.168.28.130
Port=4106


MASSANGER
; ÁÖ¼®¹®Àº óÀ½ ¹®ÀÚ°¡ ¹Ýµå½Ã ¼¼¹ÌÄÝ·Ð(;) À̾î¾ß ÇÏ°í ÀζóÀÎ ÁÖ¼®Àº ºÒ°¡´É
; [±×·ì]
; Çʵå=°ª
; '=' ¾ÕµÚ¿¡´Â °ø¹é ¹®ÀÚ ¾ø°Ô
; °ª¿¡´Â °ø¹é °¡´É
;

; ¼­¹ö ¼³Á¤
; ƯÁ¤ IP ÁÖ¼Ò¸¦ »ç¿ëÇÏÁö ¾ÊÀ» °æ¿ì ALL·Î ¼³Á¤
[Server]
IP=192.168.28.130
Port=4100
 
Last edited:
Experienced Elementalist
Joined
Jul 13, 2008
Messages
272
Reaction score
136
Re: Last Chaos

hmm, did u tryd other ip's in your config ?
127.0.0.1 / 192.168.28.130 / localhost ?
maybe mixed up LastchaosDB with LastchaosData (i would prefer all in 1 database tho)

if all those things are correct means there is something wrong with your
connection.

did u install the : MySQL-shared-compat-4.0.23-0.i386.rpm
if not, try it, if yes, try a newer version.

what distro are u running ?
Anything in the /LogFiles directory about it?

all i can think of atm
 
Junior Spellweaver
Joined
Mar 5, 2007
Messages
177
Reaction score
109
Re: Last Chaos

root@ubuntu:/LCServer# dpkg -i mysql-shared-compat_4.0.23-0_i386.deb
(Reading database ... 29399 files and directories currently installed.)
Preparing to replace mysql-shared-compat 4.0.23-0 (using mysql-shared-compat_4.0.23-0_i386.deb) ...
Unpacking replacement mysql-shared-compat ...
Setting up mysql-shared-compat (4.0.23-0) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@ubuntu:/LCServer# ls
LastChaos
libstdc++2.10-glibc2.2_2.95.4-24_i386.deb
LoginDB
mysql-shared-compat_4.0.23-0_i386.deb
MySQL-shared-compat-4.0.23-0.i386.rpm
new
UserDB
root@ubuntu:/LCServer# sudo /etc/init.d/mysql restart
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.
root@ubuntu:/LCServer# cd LastChaos
root@ubuntu:/LCServer/LastChaos# ./start.sh
===============================================================
= Starting Last Chaos Server =
===============================================================
root@ubuntu:/LCServer/LastChaos# Load setting file....
Load setting file....
Load setting file....
Loading Setting File...
Connect DB Error!!
Cannot Connect DB!!
Messenger Server Running...
Load setting file....
Cannot Connect DB!!

my log

2010/03/30 18:00:30 :: SYS_ERR > Connect DB
2010/03/30 18:01:11 :: SYS_ERR > Connect DB

2010/03/30 18:00:30 :: SYSTEM > Finding player limit.
2010/03/30 18:00:30 :: SYSTEM > Setting player limit to1019usingrlimit.
2010/03/30 18:00:30 :: SYSTEM > Opening mother connection.
2010/03/30 18:00:30 :: SYSTEM > Binding only to IP address192.168.28.130
2010/03/30 18:00:30 :: SYSTEM > Entering game loop.
2010/03/30 18:01:11 :: SYSTEM > Finding player limit.
2010/03/30 18:01:11 :: SYSTEM > Setting player limit to1019usingrlimit.
2010/03/30 18:01:11 :: SYSTEM > Opening mother connection.
2010/03/30 18:01:11 :: SYSTEM > Binding only to IP address192.168.28.130
2010/03/30 18:01:11 :: SYS_ERR > bind

MY ip vmware
root@ubuntu:/LCServer/LastChaos# ifconfig
eth0 Link encap:Ethernet HWaddr 00:0c:29:51:b2:ed
inet addr:192.168.28.130 Bcast:192.168.28.255 Mask:255.255.255.0
inet6 addr: fe80::20c:29ff:fe51:b2ed/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3065 errors:0 dropped:0 overruns:0 frame:0
TX packets:3686 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:243670 (243.6 KB) TX bytes:3131148 (3.1 MB)
Interrupt:19 Base address:0x2024

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:146 errors:0 dropped:0 overruns:0 frame:0
TX packets:146 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10529 (10.5 KB) TX bytes:10529 (10.5 KB)
 
Last edited:
Status
Not open for further replies.
Back
Top