![]() |
//create_pet for wyverns
First of all, I suppose that you have applied
Strider: https://postpacific.mmorpg-game.onli...opic.php?t=323 and Wyvern data: https://postpacific.mmorpg-game.onli...opic.php?t=368 So, now we can continue. It is NOT a guide, it is more likely technical documentation :) First of all, Function for creating wyvern Code:
.006B81E0: 8B550C mov edx,[ebp+0C]Code:
.004143DC: 83F807 cmp eax,007 //: We changed 006 here to 007, 8 will be our code for wyvern5BCF50: 00414411 == wolf 0041443C == hatchling of wind 00414467 == hatcling of stars 00414492 == of twilight 004245F0 \ 004245F0 | == strider of anyhing 004245F0 / 006B81E0 == wyvern or in raw hex: Code:
005BCF50: 11 44 41 00-3C 44 41 00-67 44 41 00-92 44 41 00//create_pet 8 to create wyvern pet. Good luck. P.S. If you read carefully through "Working strider Thread" then you saw my mini-guide on hexing l2server for striders. For wyverns, it is mostly the same. |
good job :)
|
good job
just moded my l2C2server exe and it works nicely. |
I Digital's post :" U want wyvern's? do it urself here "
I see I must add some lines in npcgrp.txt ,npcname-tw.txt ,etcitemgrp.txt ,itemname-tw.txt, 1- I have npcgrp.txt and etcitemgrp.txt but It's in encrypt mode 411 , have I decrypt it with l2encdec254 and used loader.exe ? 2- I dont have npcname-tw.txt ,itemname-tw.txt . Sure I done add some line in server file and done hex l2server.exe for //create_pet 8. Can someone can show me the way to add it . THX |
if you dont have npcname-tw.txt ,itemname-tw.txt
just use the ones you do have i my self used my itemname-e.txt, npcname-e.txt translating the text of course to english as needed. |
But can I decrypt it with l2encdec254 and used loader.exe ? THX
|
|
a few question Livid :
1- only i have to chage this : 005BCF50: 11 44 41 00-3C 44 41 00-67 44 41 00-92 44 41 00 005BCF60: F0 45 42 00-F0 45 42 00-F0 45 42 00-E0 81 6B 00 ?? 2- And this number in hex what is 006B81E0, Are 000B81E0 or 001B81E0 ? Please answerme and i post the l2server with this :D |
Ok THX alot Livid
|
hm i had to locate a new area my self in place of using 006B81E0 for the code
since this would have placed it within the import table :) i my self used file address : 1B4DD7 (5B4DD7) and had to make a small touch up to the above code so the call would be compatible with my exe anyone adding this code should use HIEW to input it :) |
Firstly, I will answer on second question.
006B81E0 is 006B81E0. Yes, because normal win PE addressation starts with 400000, not 000000 :) Ok, it will be 2B81E0 according to Hex Workshop, UltraEdit, etc (it is a bunch of zeros there, you won't miss it). And now... well, question #1. I did not quite understand a question... Well, I dunno whos english is better... So, I will just explain what this fragment means... You should remember that in "Working Strider Thread" we had to write new table, containing addreses to functions, that actually create pets. Here we just add new address for wyvern function. And, as you see it is placed at address 006B81E0. Everthing this: 005BCF50: 11 44 41 00-3C 44 41 00-67 44 41 00-92 44 41 00 005BCF60: F0 45 42 00-F0 45 42 00-F0 45 42 00 must be already in ur server. |
well well tnx to you i made it :D, please test and tell me if this works,i cant do it because my server is down for this days :(.
|
Works fine about creating a pet - even summoning is fine.
But there is a problem - crashing client sometimes during pet existing. Cann't update abnormal state. No logical period. Or i'm stupid and do smth wrong. And by the way - attack_effect of wyvern need to be corrected. |
|
Stazis: I have no issues abt crashing. Animation is a little bit messy sometimes, I think that's because we manually add wyvern to C2 client...
I have pet fix patch from https://postpacific.mmorpg-game.onli...opic.php?t=343 -may be it's it... or not. Anyway, i'll look into. |
Pet fix is fine , we never has d/c but pet dun have skill , right?
|
Pet do have skills, there is no handler for those in server. Currently looking into it.
|
SoaPy, your ftp's down.
|
any one have full guild ... how to create pet step by step ... i very stupit about assemble ... looking this anything can not understand ... hix, help please ... i very like L2 ... very like ...
(sorry my english) |
on a side note i was just wondering if it was really a good idea to write the proc into the rdata section of the exe vs as i did which was place it at the end of the code section.. since i'm thinking this might lead to making your server unstable in my opinion :)
|
Hmmm.... There is not much difference actually... And it is stable enough to work for... erm... already 2 days... Oh, nevermind. Maybe you're right.
|
well i suggest maybe relocation to 5B4DD7 thats at the end of the code listing and theres around 200h-400h depending of free space and the code proc is only 2Ch in size anyway :)
|
here my file, test a tell me if its works
|
oh not saying it wont work its just not smart to stick code in a data section can cause problems :)
the posted code works nicely no doubt just offering a suggestion to avoid possible problems |
is only a help for that person didnt know how to hex a file :D, only try to help to my way. If all dont want to i share this file, then tell me and i delete the attachment :D. Dont worry is not a problem :P.
|
| All times are GMT. The time now is 21:44. |