![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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 |
|
|
|
|
#2 |
|
Архивный участник
Join Date: Nov 2004
Posts: 1,405
|
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
|
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
hmm :-( can u help me how? paste here right ai.obj code? if u have? ..I will be glad thanks :-D
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
Edited: rodier found the solution. Read below.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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.
After some reflection and some test i find the perfect Patch.
What to do is to put the Wish Potion "stackable".
Edit Itemdata.txt (server side)
*** Find ***
item_begin etcitem 3467 [q_wish_potion] item_type=etcitem slot_bit_type={none** armor_type=none etcitem_type=none blessed=0 weight=60 default_action=action_none consume_type=consume_type_normale initial_count=1 maximum_count=1
*** replace by ***
item_begin etcitem 3467 [q_wish_potion] item_type=etcitem slot_bit_type={none** armor_type=none etcitem_type=none blessed=0 weight=60 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=20
Edit etcitemgrp.txt (client side \System\)
*** find ***
item_begin object_id=3467 object_name=[q_wish_potion] drop_type=0 drop_anim_type=3 drop_radius=2.7 drop_height=5 drop_mesh={[dropitems.drop_sack_m00]** drop_texture={[dropitemstex.drop_sack_t00]** icon={[icon.etc_lesser_potion_blue_i00]** mesh={[none]** texture={[none]** crystallizable=0 drop_sound=[ItemSound.itemdrop_sack] equip_sound=[none] etcitem_type=none weight=60 consume_type=consume_type_normal material_type=paper crystal_type=none durability=0 item_end
*** replace by ***
item_begin object_id=3467 object_name=[q_wish_potion] drop_type=0 drop_anim_type=3 drop_radius=2.7 drop_height=5 drop_mesh={[dropitems.drop_sack_m00]** drop_texture={[dropitemstex.drop_sack_t00]** icon={[icon.etc_lesser_potion_blue_i00]** mesh={[none]** texture={[none]** crystallizable=0 drop_sound=[ItemSound.itemdrop_sack] equip_sound=[none] etcitem_type=none weight=60 consume_type=consume_type_stackable material_type=paper crystal_type=none durability=0 item_end
And to be sure, i do the same for the "World Map" and "Map of Elmor", like that no way to use this kind of exploit so easily.
If you dont do it in the client side, it's still working but the player will not know how many item (Wish Potion of Maps) he'll have in his inventory.
(sorry for my english)
|
|
|
|
|
#6 |
|
Архивный участник
Join Date: Mar 2005
Posts: 1,143
|
OK - that's scary. You posted the same exact time I did. :shock:
I'll remove mine since it's solved then.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
HEHE ;-DD that is lol same time.. same solution ;-D
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Feb 2005
Posts: 357
|
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"); } |
|
|
|
|
#10 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
hehe that looks cool but who know in which place @ matild I must paste it?
|
|
|
|
|
#11 | |
|
Архивный участник
Join Date: Apr 2005
Posts: 98
|
Quote:
you need to write this into ai language
|
|
|
|
|
|
#12 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
;-(( 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.. |
|
|
|
|
#13 |
|
Архивный участник
Join Date: Feb 2005
Posts: 357
|
when the inventory is full, "func_call 80 // func[DeleteItem1] " doest work. use my fix it should work.
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: May 2005
Posts: 979
|
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..
|
|
|
|
|
#15 |
|
Архивный участник
Join Date: Sep 2005
Posts: 7
|
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?
|
|
|
|
|
#16 |
|
Архивный участник
Join Date: May 2005
Posts: 133
|
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.
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: May 2005
Posts: 367
|
post the editor, we'll crack it lol
|
|
|
|
|
#18 |
|
Архивный участник
Join Date: Feb 2005
Posts: 177
|
fix for wishing potion bug - tested by me - all working.
https://postpacific.loc-online.com/f...e331de12#17960 |
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|