[r34083-DIF]npc_get_level function

07/19/2013 18:10 Cescoso#1
This functionality overrides unused npc.get_remain_skill_book_count () function. After you've applied this dif you'll be able to get the level of a npc calling this function: npc.get_level() .

It's for 8MB version.

Quote:
This difference file has been created by IDA Pro

game_test
00169174: 89 75
00169175: C3 61
00169176: 74 90
00169177: 07 90
00169178: 8B 90
00169179: 40 90
0016917A: 2C 90
0016917B: 85 90
0016917C: C0 90
0016917D: 74 90
0016917E: 31 90
001691B0: 89 90
001691B1: 1C 90
001691B2: 24 90
001691B3: E8 90
001691B4: 28 90
001691B5: A4 90
001691B6: EB 90
001691B7: FF 90
001691B8: 66 90
001691B9: 3D 90
001691BA: 3F 90
001691BB: 4E 90
001691BC: 75 90
001691BD: C1 90
001691BE: 89 90
001691BF: 1C 90
001691C0: 24 90
001691C1: C7 90
001691C2: 44 90
001691C3: 24 90
001691C4: 04 90
001691C5: 5F 90
001691C6: 00 90
001691C7: 00 90
001691C8: 00 90
001691C9: E8 90
001691CA: F2 90
001691CB: BC 90
001691CC: EB 90
001691CD: FF 90
001691CE: C7 90
001691CF: 04 90
001691D0: 24 90
001691D1: 00 90
001691D2: 00 90
001691D3: 00 90
001691D4: 00 90
001691D5: 89 90
001691D6: 44 90
001691D7: 24 0F
001691D8: 04 B6
001691D9: E8 80
001691DB: 82 05
001691DC: 28 00
00436CEA: 72 6C
00436CEC: 6D 76
00436CED: 61 65
00436CEE: 69 6C
00436CEF: 6E 00
BEFORE
[Only registered and activated users can see links. Click Here To Register...]

AFTER
[Only registered and activated users can see links. Click Here To Register...]
07/19/2013 18:41 miguas#2
You will do npc.get_vid?
I wish that function so much OMG please do it :c
07/19/2013 18:43 WildEgo#3
Dat's cool bro!
MYGUAS IS FUCKIN GAY!
07/19/2013 18:44 deltous'fabius#4
[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

You need 20 Post to show us Pictures :)

Regards
.Wolowitz
07/19/2013 21:04 .Bloddy#5
Why dont u write a cpp function?
int npc_ptr=quest__CQuestManager__GetCurrentNPCCharact erPtr((int*)*CQuestManager);
int vid = *(int *) (npc_ptr + 1298);
07/19/2013 21:26 xCPx#6
Sry i read that this is npc.get_vid :D
07/20/2013 00:30 Cescoso#7
edit
07/20/2013 01:06 xCPx#8
Quote:
Originally Posted by Cescoso View Post
Here you have npc.get_vid(), it overwrites npc.get_level() or npc.get_remain_skill_book_count()
i made via lib allready ^^
but thanks
07/20/2013 16:10 miguas#9
Cescoso I JUST FUC**** LOVE YOU <3!
Working? (Ill test)
07/20/2013 18:06 Cescoso#10
Quote:
Originally Posted by miguas View Post
Cescoso I JUST FUC**** LOVE YOU <3!
Working? (Ill test)
I've updated npc.get_vid() dif. Before the update you had to call new function using npc.get_level instead of npc.get_vid, fixed now
08/06/2013 02:43 miguas#11
Not Working Cescoso :/
Give me a example on how to use it, maybe thats my problem...
08/06/2013 09:47 Cescoso#12
Ok, got it, npc.get_level() seems to work, npc.get_vid() had 1 error and i should have fixed it now; old dif has been already edited, try and tell me if you got other errors please.
08/07/2013 02:26 bcpremier#13
What this diff do ?
08/10/2013 13:10 eTony#14
This dif work or no .. ?
08/11/2013 01:34 miguas#15
The diff is not working still cescoso...

Why they are alot of 90 in the diff? I only see NOP on the diff :/