Jump to content
  • 0

[help] Entry of Antharas


Question

Posted

when you enter the Antharas he has time to close the teleport to get anyone else.

where I can be silent for one minute in order to enter Antharas?

 

class 1 ai_boss04_heart_of_warding : default_npc
handler 3 13	//  TALKED
variable_begin
	"talker"
	"myself"
	"_choiceN"
	"_code"
	"_from_choice"
variable_end

push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S3070.	"heart_of_warding001.htm"
push_string S3070
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
handler_end

handler 28 258	//  TELEPORT_REQUESTED
variable_begin
	"talker"
	"i0"
	"c0"
	"i1"
	"i2"
	"myself"
	"_choiceN"
	"_code"
	"_from_choice"
variable_end

push_event	//  i0
push_const 260
add
push_reg_sp
fetch_i
push_event	//  myself
push_const 704
add
fetch_i
push_const 1
func_call 184614962	//  func[GetGlobalMap]
shift_sp -1
assign4
shift_sp -1
push_event	//  i0
push_const 260
add
fetch_i4
push_const 1
negate
not_equal
branch_false L14688
L14687
push_event	//  c0
push_const 344
add
push_reg_sp
fetch_i
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  i0
push_const 260
add
fetch_i4
func_call 184614954	//  func[GetCreatureFromIndex]
shift_sp -1
assign
shift_sp -1
push_event	//  c0
push_const 344
add
fetch_i	//  alive
push_const 104
add
fetch_i4
branch_false L14690
L14689
push_event	//  c0
push_const 344
add
fetch_i	//  db_value
push_const 2252
add
fetch_i4
push_const 0
equal
push_reg_sp
fetch_i
branch_true L14691
push_event	//  c0
push_const 344
add
fetch_i	//  db_value
push_const 2252
add
fetch_i4
push_const 1
equal
or
L14691
branch_false L14693
L14692
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 3865
func_call 184680579	//  func[OwnItemCount]
shift_sp -2
push_const 0
greater
branch_false L14695
L14694
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_const 3865
push_const 1
func_call 184746114	//  func[DeleteItem1]
shift_sp -3
shift_sp -1
push_event	//  gg
push_const 632
add
fetch_i
push_event	//  c0
push_const 344
add
fetch_i
push_const 0
push_const 0
func_call 218300428	//  func[sendScriptEvent]
shift_sp -3
shift_sp -1
push_event	//  i1
push_const 264
add
push_reg_sp
fetch_i
push_const 179700
push_event	//  gg
push_const 632
add
fetch_i
push_const 700
func_call 218169344	//  func[Rand]
shift_sp -1
add
assign4
shift_sp -1
push_event	//  i2
push_const 268
add
push_reg_sp
fetch_i
push_const 113800
push_event	//  gg
push_const 632
add
fetch_i
push_const 2100
func_call 218169344	//  func[Rand]
shift_sp -1
add
assign4
shift_sp -1
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
push_event	//  i1
push_const 264
add
fetch_i4
push_event	//  i2
push_const 268
add
fetch_i4
push_const 7709
negate
func_call 184811596	//  func[instantTeleport]
shift_sp -4
shift_sp -1
jump L14696
L14695
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S3071.	"heart_of_warding004.htm"
push_string S3071
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L14696
jump L14697
L14693
push_event	//  c0
push_const 344
add
fetch_i	//  db_value
push_const 2252
add
fetch_i4
push_const 2
equal
push_reg_sp
fetch_i
branch_true L14698
push_event	//  c0
push_const 344
add
fetch_i	//  db_value
push_const 2252
add
fetch_i4
push_const 3
equal
or
L14698
branch_false L14700
L14699
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S3072.	"heart_of_warding003.htm"
push_string S3072
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L14700
L14697
jump L14701
L14690
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S3073.	"heart_of_warding002.htm"
push_string S3073
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L14701
jump L14702
L14688
push_event	//  myself
push_const 704
add
fetch_i
push_event	//  talker
push_const 40
add
fetch_i
S3074.	"heart_of_warding002.htm"
push_string S3074
func_call 184680516	//  func[showPage]
shift_sp -2
shift_sp -1
L14702
handler_end

class_end

10 answers to this question

Recommended Posts

  • 0
Posted

decompile the AI.obj not know, nor do I know which program to use to decompile.

But on the subject of the topic, I want to Extend the closing time for the teleport, because when the players teleportao for Antharas, 10 seconds or so, the server locked teleportation to more ninguen comes, I want to change the 10 seconds to 1 minute, and I think 10 seconds or less!

  • 0
Posted

rej222 means that you can use Ai decompiler to decompile the ai.obj to NASC code,that's very easy understand how the ai.obj worked,you can change it whatever you want...just search this tool...

  • 0
Posted

Can you believe this guy actually currently has a live server...

 

With such a short AI if you don't understand what it does then you probably wont once its decompiled either.

  • 0
Posted

You know that other topic where you want to "Convert html to ai", well i posted the tool to decompile and compile ai.obj in that, and you claimed it "Isn't what you was looking for" T_T, i advise you quit while you are ahead.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...