Post Pacific  

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

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 04.10.2005, 01:27   #1
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default [FIX] Some AI.OBJ bagfixes

Valcon fix:

L17367
shift_sp 1
func_call 23 // func[GetCurrentTick]
push_event // talker
push_const 32
add
fetch_i // quest_last_reward_time
push_const 644
add
fetch_i
sub
push_const 1
greater
branch_false L17370
L17369

//bug fix for 32000 exp 3900 sp
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3139
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
equal
branch_false L100001
L100002
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S100001. "cheater.htm"
push_string S100001
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3434
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
exit_handler
L100001
//end bug fix


You mast find in ai.obj with green color
and insert red part after green text

for use bug attempt, NPC give item Coca-Cola to cheater, and display cheater.htm (make it by yourself). Dont forget set in itemdata.txt those parameters to item with id 3434: is_destruct=0 is_trade=0 is_drop=0.
NOTE: on my server this item sellable in Aden shop, dont know why.

Wolf Collar bugfix

fetch_i
branch_false L41292
shift_sp 1
func_call 23 // func[GetCurrentTick]
push_event // talker
push_const 32
add
fetch_i // quest_last_reward_time
push_const 644
add
fetch_i
sub
push_const 1
greater
and
L41292
branch_false L41294
L41293

//bug fix for wolf collar
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3417
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
equal
branch_false L100009
L100010
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S100005. "cheater.htm"
push_string S100005
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3434
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
exit_handler
L100009
//end bug fix


NPC ask test questions and at end give Coca-Cola

Loving Sophia

L41603
shift_sp 1
func_call 23 // func[GetCurrentTick]
push_event // talker
push_const 32
add
fetch_i // quest_last_reward_time
push_const 644
add
fetch_i
sub
push_const 1
greater
branch_false L41606
L41605

//bug fix for 1000 adena
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 1369
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
equal
branch_false L100005
L100006
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S100003. "cheater.htm"
push_string S100003
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3434
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
exit_handler
L100005
//end bug fix


the same way...

clan 5lv and 250k sp bugfix

L44696
shift_sp 1
func_call 23 // func[GetCurrentTick]
push_event // talker
push_const 32
add
fetch_i // quest_last_reward_time
push_const 644
add
fetch_i
sub
push_const 1
greater
branch_false L44699
L44698

//bug fix for clan 5 level up and 250k sp
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3869
func_call 81 // func[OwnItemCount]
shift_sp -2
push_const 0
equal
branch_false L100007
L100008
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
S100004. "cheater.htm"
push_string S100004
func_call 43 // func[ShowPage]
shift_sp -2
shift_sp -1
shift_sp 1
push_event // talker
push_const 32
add
fetch_i
push_const 3434
push_const 1
func_call 77 // func[GiveItem1]
shift_sp -3
shift_sp -1
exit_handler
L100007
//end bug fix


Be sure change L10000X and S10000Y according with your custom ai code. I hear another serious bugs present in ai.obj, but I dont know about it, if you know PM me, with bugged NPC and I'll make fixes...
RmzVoid is offline  
Old 04.10.2005, 01:52   #2
blaher
Архивный участник
 
Join Date: Sep 2005
Posts: 23
Default

thanks man ill try it
blaher is offline  
Old 04.10.2005, 01:56   #3
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

tested =)

and bug from warehouse? ?
kepler001 is offline  
Old 04.10.2005, 02:09   #4
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

Quote:
Originally Posted by kepler001
tested =)

and bug from warehouse? ?
dont understand this bug )) i think not so useful
RmzVoid is offline  
Old 04.10.2005, 03:21   #5
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

exploit of warehouse
Im summon pet and help html open warehouse
and open warehouse full npcs :s
for deposit and exchange items for warehouse
kepler001 is offline  
Old 04.10.2005, 03:39   #6
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

hmmm, dont know what kind of check I mast insert

oooo no! have idea!
i mast add handler to default npc class and leave it empty, so, true warehouse keepers have it own, proper handler, and other npcs have it empty and do nothing!
what are you think?
RmzVoid is offline  
Old 04.10.2005, 03:47   #7
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

hmmm, no, this is not a way, keeper have no handler for deposit and withdraw items... have no ideas
RmzVoid is offline  
Old 04.10.2005, 06:37   #8
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

for warehouse - only hex is the way...
darkagent is offline  
Old 04.10.2005, 17:52   #9
Alisa
Архивный участник
 
Join Date: Sep 2005
Posts: 4
Default

Rmzvoid Respect really nice fix omw wanna check & got some cola ;
Alisa is offline  
Old 04.10.2005, 18:00   #10
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

nice.
thx for sharing.
i will donate some cash
toolpunk is offline  
Old 05.10.2005, 04:18   #11
darkagent
Архивный участник
 
Join Date: Aug 2005
Posts: 54
Default

fastest way to fix Sophia:
lookin' for:
Code:
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 1000
->>>	func_call 77	//  func[GiveItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
changing to:
Code:
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 1000
->>>	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
This quest is unuseful then rates more than 1x, so you may do a trap for cheaters
darkagent is offline  
Old 05.10.2005, 04:48   #12
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

i think this is wrong solution for rate 1+ too. some players will be "hurted" if they done quest but sophia get 1000 adena from them.
valcon the same way? ))) one of profession quest decrease exp end sp )) just add "negate" after push_const 32000 and push_const 3900 )))
make patch for ai.obj not so hard, so we mast make it more transparent for usual plaeyers. And if you think that sofia quest useless just delete npcpos for sophia.
RmzVoid is offline  
Old 05.10.2005, 22:23   #13
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

fukin usefull thks ^^
i set the item to a 80k weight item lol
alrdy 20 or 30 peeps caught lol
hamidouch is offline  
Old 06.10.2005, 02:22   #14
Kenster
Архивный участник
 
Join Date: Sep 2005
Posts: 455
Default

Maybe, we can make them some how put into combat, by a mob that hits 1 dmg each, making them unable to log out also? So gives a few more minutes to catchem :P
Kenster is offline  
Old 06.10.2005, 02:31   #15
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

all in your hands
RmzVoid is offline  
Old 06.10.2005, 14:04   #16
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

just set item as skill_maintain and set item_skill as a gm_fossi lasting after 50 hours .....
u can be sure they will try to use the item, since i made it with a nice bomb icon ^^
hamidouch is offline  
Old 06.10.2005, 14:07   #17
hamidouch
Архивный участник
 
Join Date: Mar 2005
Posts: 475
Default

rmz btw if i want to add ur check on another npc,
i just have to change

fetch_i
push_const 1369 <=== this constant according new npc i wanna fix
func_call 81 // func[OwnItemCount]

right?
no need to touch Sxxxxxx or does it have to be unique?
hamidouch is offline  
Old 06.10.2005, 18:32   #18
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Valkon's quest doesn't work anymore when you apply this fix it seems...
Ppl say they don't get the mark from valkon.

Greetz
LDragonL is offline  
Old 06.10.2005, 22:12   #19
TourT
Архивный участник
 
Join Date: Aug 2005
Posts: 30
Default

Yes .. valcon don't work
TourT is offline  
Old 06.10.2005, 22:51   #20
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

Quote:
Originally Posted by hamidouch
rmz btw if i want to add ur check on another npc,
i just have to change

fetch_i
push_const 1369 <=== this constant according new npc i wanna fix
func_call 81 // func[OwnItemCount]

right?
no need to touch Sxxxxxx or does it have to be unique?
yes, maybe you need add check for amount of needed items.

to other
are you sure that reason of non workinkg valcon my patch?
may be you look to problem close, check for users inventory (full?)
or server lag? I have complete this quest, and all work, mark in bag.
In the end look at code of patch and you not see error.
RmzVoid is offline  
Old 08.10.2005, 00:12   #21
caxap
Архивный участник
 
Join Date: Oct 2005
Posts: 1
Default

valkon is worked with fix
caxap is offline  
Old 08.10.2005, 00:20   #22
RmzVoid
Архивный участник
 
Join Date: Apr 2005
Posts: 357
Default

Quote:
Originally Posted by caxap
valkon is worked with fix
10x for positive support
RmzVoid is offline  
Old 08.10.2005, 09:56   #23
LDragonL
Архивный участник
 
Join Date: May 2005
Posts: 133
Default

Did the quest too and it works indeed i am very sorry.
Thanks for your nice share

Greetz
LDragonL is offline  
Old 08.10.2005, 10:03   #24
iamrend
Архивный участник
 
Join Date: May 2005
Posts: 315
Default

yes valkon work
iamrend is offline  
Old 13.10.2005, 16:57   #25
tsakis
Архивный участник
 
Join Date: Oct 2005
Posts: 2
Default

nice but where do i find ai.obj and itemdata.txt ??????????
tsakis 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 19:24.