![]() |
Fix for wishing potion bug?
Hi all
Please can anybody help me, how to fix bug with wishing potion? If you have get that potion and then full your inventory.. matilda make your wishes.. always.. nonstop.. simply you can repeat that quest only with 1 potion... how to stop this? maybe routine that check for full inventory? I maybe can make it but dont understand fully ai.obj - dont know where to put it.. thanks for help |
the bug is with inventory being full i think?
u just have to reverse the procedure. to check that the player have sufficient space for it :) |
hmm :-( can u help me how? paste here right ai.obj code? if u have? ..I will be glad thanks :-D
|
Edited: rodier found the solution. Read below. :)
|
from ragezone..
Code:
I've the same problem and first i disable the NPC, but this solution is not good, so i try to convert the Wish Potion in Quest object, but people can use the exploit again but full up the Quest inventory. |
OK - that's scary. You posted the same exact time I did. :shock:
I'll remove mine since it's solved then. :D |
HEHE ;-DD that is lol same time.. same solution ;-D
|
but as I read this solution is not 100% because people can simply full quest item inv and then repeat that bug again :-( .. better will be insert in to right place in ai.obj routine that check for inventory slots :(
|
this came to my mind some days ago.
if(OwnItemCount(talker, bleh) == 0) { GiveItem1(talker, bleh, 1); } delay 1 sec DeleteItem1(talker, bleh, OwnItemCount(talker, bleh)); delay 1 sec if(OwnItemCount(talker, bleh) == 0) { inventory is not full. proceed with quest } else { inventory full showpage(talker, "cheater.htm"); } |
hehe that looks cool but who know in which place @ matild I must paste it?
|
Quote:
|
;-(( pls I think there must be any fix....... or every server havedisabled it? I think this quest is coooool ... is there any quest like this? with random moneys but repeatable and is long?
I dont understand that bug - people with full inventory/quest inventory have wish potion.. and matilda don't grab it back.. why? why when full inventory = matilda dont grab wish potion from inventory? I think we can fix it.. |
when the inventory is full, "func_call 80 // func[DeleteItem1] " doest work. use my fix it should work.
|
where is your fix? That idea writed in C++ ? hehe sorry but I dont understand ai.obj too much ;-( dont know how to write it to ai.boj and WHERE exactly.. but the right code for this will be great work..
|
On my way to understanding ai.obj I've found, that somewhere exists a tool "NPC AI Script Compiler". Does any1 know smth about it or maybe where to find it?
|
If there is such a tool, i want it too.
Just like the official geodata editor wich need a serial to use it :( wich we don't have. |
post the editor, we'll crack it lol
|
fix for wishing potion bug - tested by me - all working.
https://postpacific.loc-online.com/f...e331de12#17960 |
| All times are GMT. The time now is 16:19. |