Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 19.08.2005, 16:46   #1
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default 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
rodier is offline  
Old 19.08.2005, 16:51   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

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
Digital is offline  
Old 19.08.2005, 17:22   #3
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hmm :-( can u help me how? paste here right ai.obj code? if u have? ..I will be glad thanks :-D
rodier is offline  
Old 19.08.2005, 17:33   #4
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

Edited: rodier found the solution. Read below.
flakka is offline  
Old 19.08.2005, 17:33   #5
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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)
rodier is offline  
Old 19.08.2005, 17:39   #6
flakka
Архивный участник
 
Join Date: Mar 2005
Posts: 1,143
Default

OK - that's scary. You posted the same exact time I did. :shock:

I'll remove mine since it's solved then.
flakka is offline  
Old 19.08.2005, 17:46   #7
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

HEHE ;-DD that is lol same time.. same solution ;-D
rodier is offline  
Old 19.08.2005, 17:47   #8
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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
rodier is offline  
Old 19.08.2005, 18:43   #9
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

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");
}
Sauron is offline  
Old 19.08.2005, 23:44   #10
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

hehe that looks cool but who know in which place @ matild I must paste it?
rodier is offline  
Old 20.08.2005, 00:03   #11
OnlyOne
Архивный участник
 
Join Date: Apr 2005
Posts: 98
Default

Quote:
Originally Posted by rodier
hehe that looks cool but who know in which place @ matild I must paste it?
thats just idea you need to write this into ai language
OnlyOne is offline  
Old 24.08.2005, 02:02   #12
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

;-(( 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..
rodier is offline  
Old 24.08.2005, 02:12   #13
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

when the inventory is full, "func_call 80 // func[DeleteItem1] " doest work. use my fix it should work.
Sauron is offline  
Old 24.08.2005, 02:26   #14
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

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..
rodier is offline  
Old 15.09.2005, 20:19   #15
An@BoL
Архивный участник
 
Join Date: Sep 2005
Posts: 7
Default

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?
An@BoL is offline  
Old 24.09.2005, 12:35   #16
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

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.
LDragonL is offline  
Old 26.09.2005, 20:03   #17
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default

post the editor, we'll crack it lol
demon is offline  
Old 26.09.2005, 20:13   #18
SOnick
Архивный участник
 
Join Date: Feb 2005
Posts: 177
Default

fix for wishing potion bug - tested by me - all working.
https://postpacific.mmorpg-game.onli...e331de12#17960
SOnick is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 22:11.