Re: Enigma shaped Bellums
well, i need to clear somethings:
When u call with get os113, it looks like enigma (where, in ur inventory, or in the floor, or maybe in both)
anyway, u first need to look for that code in server and client with hex editor, if both look normal then u should then check the zhoon file and the txt in the openitem ( check the os112 and os113, they should have their own code "os112 and os113) if thats ok
then check :
if the item looks like enigma in the floor: "\image\Sinimage\Items\Accessory"
if the item looks like enigma in the invent: "\image\Sinimage\Items\DropItem"
Re: Enigma shaped Bellums
Yeah, it just has to do with the image file. All you need to do is edit it in the client to change it and make it look as what it does within the directory.
Re: Enigma shaped Bellums
Sorry... I don't believe this has anything to do with my client, since I use the same client as I connect to other servers which have correct Bellums... and my users use a number of different clients anyway. So... I'mma put messing with that off till I've tried everything else.
Yes, the skin on the floor, and in the inventory is like Enigma... And the stats of an os113 are like:- HP +10 Mana +10 HP,Mna,Stm Regen 200, which I believe I can see in the file, but I don't know what they should be. I mean... that's kinda hacked right?
Quote:
check the os112 and os113, they should have their own code "os112 and os113
thanks for the suggestion... but that was what I did the first time around which I thought fixed it, till I rebooted the server a few times and it went back to Enigmas. :(
By "check the code in the server" do you mean HEX the Server.exe? I wouldn't know what I was looking for in there TBH. But the server was set up from the guide linked here in RFT.
I don't actually care too much what it looks like, if only Arcane Moriff would accept it as a Bellum. The fact that he doesn't is the biggest problem. But it doesn't seem to take the right stats either.
Additional: *Sigh* now the server makes me out a liar and shows it as a Bellum again and ages it right. :( So why does it sometimes look like a Bellum and sometimes and Enigma without me doing anything to the server files?
Is there some caching that if a GM has a hacked Enigma called a "Bellum" and ~/@get's a "Bellum" then OS113 always drops one of those afterwards instead of the one shown in the file? I'm very confused.
Re: Enigma shaped Bellums
in the server.exe and game.exe (with hex) look for the code OS111 (that jsut to get a point to start) then u can check the next codes if they are right, it mean the next should be os112 and os113, so u will check if the codes are right in client and server cuz that sound like a bug. If u didnt set ur files right, the server can run but some weird bugs will show.
Re: Enigma shaped Bellums
Wow! Thanks... I think that does it.
Server lists:-
...
Inferna, OS**** Accessory, os111
Enigma, OS**** Accessory, os112
Lucidy Force, FO**** Accessory, os101
Sereno Force, FO102, Accessory, os102
...
So there is a problem with the Server tables. :(
There is some room at the end of the table on the server.exe, so... can I just copy and paste from my client to the server?
Edit---> Sadly not, as the full client list would take me into "TM63 Compulsion Mc4_COMPULSION.tga" in the server executable. o>o
So how do people usually go about correcting these tables? Might I ask, and pretty please with cherries on top, my dear, kind folks. :(:
And thank you for your quick and polite responses thus far.
Re: Enigma shaped Bellums
u cant just add things in the server cuz inside of the server is a programation (u can see that with ollie dbg) but there is 2 item table in the server files (the first one is just useless and is incomplete), the second is the one and that table was relocated long time ago, how u know wich one is the first and wich is the second? well you have 2 ways, with ollie (there is a threat with a tutorial how to use ollie dbg and is really really clear and ez to follow) and the other way is with a hex program (with this you need to look for a code and u should find 4 of them, 2 of the first table and 2 of the second). Take care of the second table and check the codes there.
Re: Enigma shaped Bellums
I'm afraid I'm having trouble reading this.
Quote:
Originally Posted by
SoyEdu
u cant just add things in the server cuz inside of the server is a programation
Programation is not a word in the English language... but I think you mean that there is code, as well as data in the exe. Hence why it's executable. And if so, yes, I do understand that.
Quote:
Originally Posted by
SoyEdu
there is 2 item table in the server files (the first one is just useless and is incomplete), the second is the one and that table was relocated long time ago,
The "second one is the one" I want? Is it possible that when I hexed my server I was looking at the first?
If not... I'm still going to overwrite another following table if I cut and splice. Of course, I know that I cannot extend the RData section of the PE anywhere near as simply as just adding a few bytes in the middle of a table... this would completely mess up all the pointers in the code pointing to tables after it. Even if it was only one byte. (but yes, I try not to make any assumptions of a persons ability when responding too, especially as they may not be the only person reading it.)
I can use Olly, and various other debuggers. But I'm not sure what I should look for in it... as I can't really see what information it could give me that would resolve the issue... I'm sure you are right, but I'm just being a bit thick right now. I can see what you are saying, but not why that would lead me to a solution... unless the "second" table has lots and lots of unused space behind it.
Thanks for the help though. I do apreciate it. Maybe when I've had some sleep, and it isn't so freeking hot this will make more sense to me.:?:
Re: Enigma shaped Bellums
Re: Enigma shaped Bellums
Interesting... My Server.exe doesn't have a .items section. But it does have two tables which contain WA101 (the first item) in the .data section.
I tried tracing memory access to them both, and neither are accessed during normal operation... strange locations within on table are referenced all through the code. So I'm guessing this is the right one.
More investigation is needed before I'm comfortable haxing my server.exe though. lol
Thanks for all the advice.
Re: Enigma shaped Bellums
just make a copy of ur current server.exe and start to play with the codes, if the server crashed, just delete and restore form the copy and try again :)
Re: Enigma shaped Bellums
Quote:
Originally Posted by
bobsobol
Interesting... My Server.exe doesn't have a .items section. But it does have two tables which contain WA101 (the first item) in the .data section.
I tried tracing memory access to them both, and neither are accessed during normal operation... strange locations within on table are referenced all through the code. So I'm guessing this is the right one.
More investigation is needed before I'm comfortable haxing my server.exe though. lol
Thanks for all the advice.
All servers that are from Shagpub's KPT Endless Towers release have two item tables. This is because there wasn't enough room to add items. He added a 2nd table instead of removing the first one as to prevent having to update as many pointers. This is seen similarly with exp tables.
Unfortunately, none of the clients correspond with the release and therefore lack any extras that were added on to the server. Other client+server repacks made a mess of this unfortunately.
Sometimes the problem can be that there are multiple item files that use the same item names within as another file (i.e. two files calling something enigma). This applies to item codes as well. What I would do is use a search utility that will look through every single file that has the name "enigma" in it or the item code "os112". Most releases have a ridiculous amount of dupes within. These dupes often cause issues. Also, as suggested, make sure the item tables match up server-side and client-side for enigma. The item codes should be the same. If it still looks funny, also check whether or not the image itself has been altered (if it is just an image issue now).
Re: Enigma shaped Bellums
Thanks again. Especially DK, as I know you have some experience with this period dev. Yes... I have found the "Items" section, and it's nice an clean there, but there seems to be a little bit of code in the section as well, and I'm not keen on code and data in the same section, from a DEP point of view.
I'm also held up on many on-going projects now, as, since I started Ollying the server, it is crashing very regularly. :(
I've never written a single change back to the exe, just watched what it is doing to what, but when I'm using Olly on the server (as opposed to the client) it has a habit of not resting and then starts a fight with flipping Dr.Watson. :(
I think something in my server (not the exe which is restored) is now in a partially edited state, but figuring out what is taking me some considerable time... and that's time I could be working on other things. See... I knew it wasn't as simple as "keep a backup of the exe and Olly away" lol.