Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 09.04.2006, 02:55   #1
pipislav
Архивный участник
 
Join Date: Apr 2005
Posts: 50
Default [share] Clanhall buffers

thanks for Hooked help . and demon sorry for my bad words i was just angry. and to all of You if You want this working re edit Your html files , otherwise only clan leader will be buffed.
Code:
class custodian : default_npc
parameter_define_begin
	string ShopName ""
	string fnHi "black001.htm"
	string fnNotMyLord "black002.htm"
	string fnGetOut "black003.htm"
	string fnBanish "black004.htm"
	string fnOptionList "black005.htm"
	string fnAfterBanish "black008.htm"
	string fnAlreadyHaveOption "black009.htm"
	string fnNotEnoughAdena "black010.htm"
	string fnNeedLowGrade "black011.htm"
	string fnAfterOptionAdd "black012.htm"
	string fnAddHPRegen1 "black013.htm"
	string fnAddHPRegen2 "black014.htm"
	string fnAddMPRegen1 "black015.htm"
	string fnAddMPRegen2 "black016.htm"
	string fnAddTeleporter1 "black017.htm"
	string fnAddTeleporter2 "black020.htm"
	string fnAgitTeleport "black018.htm"
	string fnMyPledge "black019.htm"
	string fnTeleportLevelZero "black021.htm"
	int cus_x1 0
	int cus_y1 0
	int cus_z1 0
	int cus_x2 0
	int cus_y2 0
	int cus_z2 0
	int cus_x3 0
	int cus_y3 0
	int cus_z3 0
parameter_define_end
property_define_begin
	telposlist_begin Position1
		{"<center>"; -84169; 244693; -3729; 0; 0 }
		{"Talking Island"; -84169; 244693; -3729; 50000; 0 }
	telposlist_end
	telposlist_begin Position2
		{"<center>"; -84169; 244693; -3729; 0; 0 }
		{"Talking Island"; -84169; 244693; -3729; 50000; 0 }
	telposlist_end
property_define_end
handler 3	//  TALKED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	func_call 100	//  func[IsMyLord]
	shift_sp -1
	branch_false L1283
L1282
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnHi
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1284
L1283
	shift_sp 1
	func_call 126	//  func[Castle_GetPledgeId]
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  pledge_id
	push_const 664
	add
	fetch_i
	equal
	push_reg_sp
	fetch_i
	branch_false L1285
	push_event	//  talker
	push_const 32
	add
	fetch_i	//  pledge_id
	push_const 664
	add
	fetch_i
	push_const 0
	not_equal
	and
L1285
	branch_false L1287
L1286
	shift_sp 1
	func_call 129	//  func[Agit_GetTeleportLevel]
	push_const 0
	greater
	branch_false L1289
L1288
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAgitTeleport
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1290
L1289
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnMyPledge
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1290
	jump L1291
L1287
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotMyLord
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1291
L1284
handler_end

handler 32	//  MENU_SELECTED
	variable_begin
		"talker"
		"ask"
		"reply"
		"fhtml0"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 201
	negate
	equal
	branch_false L1293
L1292
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_reg_sp
	fetch_i
	push_const 1
	equal
	branch_false L1296
L1295
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnGetOut
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1294
	jump L1297
L1296
	push_reg_sp
	fetch_i
	push_const 2
	equal
	branch_false L1298
L1297
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnBanish
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1294
	jump L1299
L1298
	push_reg_sp
	fetch_i
	push_const 3
	equal
	branch_false L1300
L1299
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	push_parameter fnOptionList
	func_call 84	//  func[FHTML_SetFileName]
	shift_sp -2
	shift_sp -1
	shift_sp 1
	func_call 117	//  func[Castle_GetHPRegen]
	push_const 0
	greater
	branch_false L1302
L1301
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S169.	"is_activate1"
	push_string S169
	shift_sp 1
	push_const 3
S170.	""
	push_string S170
S171.	""
	push_string S171
S172.	""
	push_string S172
S173.	""
	push_string S173
S174.	""
	push_string S174
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	jump L1303
L1302
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S175.	"is_activate1"
	push_string S175
	shift_sp 1
	push_const 4
S176.	""
	push_string S176
S177.	""
	push_string S177
S178.	""
	push_string S178
S179.	""
	push_string S179
S180.	""
	push_string S180
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L1303
	shift_sp 1
	func_call 117	//  func[Castle_GetHPRegen]
	push_const 1
	greater
	branch_false L1305
L1304
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S181.	"is_activate2"
	push_string S181
	shift_sp 1
	push_const 3
S182.	""
	push_string S182
S183.	""
	push_string S183
S184.	""
	push_string S184
S185.	""
	push_string S185
S186.	""
	push_string S186
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	jump L1306
L1305
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S187.	"is_activate2"
	push_string S187
	shift_sp 1
	push_const 4
S188.	""
	push_string S188
S189.	""
	push_string S189
S190.	""
	push_string S190
S191.	""
	push_string S191
S192.	""
	push_string S192
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L1306
	shift_sp 1
	func_call 118	//  func[Castle_GetMPRegen]
	push_const 0
	greater
	branch_false L1308
L1307
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S193.	"is_activate3"
	push_string S193
	shift_sp 1
	push_const 3
S194.	""
	push_string S194
S195.	""
	push_string S195
S196.	""
	push_string S196
S197.	""
	push_string S197
S198.	""
	push_string S198
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	jump L1309
L1308
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S199.	"is_activate3"
	push_string S199
	shift_sp 1
	push_const 4
S200.	""
	push_string S200
S201.	""
	push_string S201
S202.	""
	push_string S202
S203.	""
	push_string S203
S204.	""
	push_string S204
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L1309
	shift_sp 1
	func_call 118	//  func[Castle_GetMPRegen]
	push_const 1
	greater
	branch_false L1311
L1310
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S205.	"is_activate4"
	push_string S205
	shift_sp 1
	push_const 3
S206.	""
	push_string S206
S207.	""
	push_string S207
S208.	""
	push_string S208
S209.	""
	push_string S209
S210.	""
	push_string S210
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	jump L1312
L1311
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S211.	"is_activate4"
	push_string S211
	shift_sp 1
	push_const 4
S212.	""
	push_string S212
S213.	""
	push_string S213
S214.	""
	push_string S214
S215.	""
	push_string S215
S216.	""
	push_string S216
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L1312
	shift_sp 1
	func_call 129	//  func[Agit_GetTeleportLevel]
	push_const 0
	greater
	branch_false L1314
L1313
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S217.	"is_activate5"
	push_string S217
	shift_sp 1
	push_const 3
S218.	""
	push_string S218
S219.	""
	push_string S219
S220.	""
	push_string S220
S221.	""
	push_string S221
S222.	""
	push_string S222
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	jump L1315
L1314
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S223.	"is_activate5"
	push_string S223
	shift_sp 1
	push_const 4
S224.	""
	push_string S224
S225.	""
	push_string S225
S226.	""
	push_string S226
S227.	""
	push_string S227
S228.	""
	push_string S228
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L1315
	shift_sp 1
	func_call 129	//  func[Agit_GetTeleportLevel]
	push_const 1
	greater
	branch_false L1317
L1316
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S229.	"is_activate6"
	push_string S229
	shift_sp 1
	push_const 3
S230.	""
	push_string S230
S231.	""
	push_string S231
S232.	""
	push_string S232
S233.	""
	push_string S233
S234.	""
	push_string S234
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
	jump L1318
L1317
	shift_sp 1
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
S235.	"is_activate6"
	push_string S235
	shift_sp 1
	push_const 4
S236.	""
	push_string S236
S237.	""
	push_string S237
S238.	""
	push_string S238
S239.	""
	push_string S239
S240.	""
	push_string S240
	func_call 89	//  func[MakeFString]
	shift_sp -6
	func_call 87	//  func[FHTML_SetStr]
	shift_sp -3
	shift_sp -1
L1318
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  fhtml0
	push_const 316
	add
	fetch_i
	func_call 88	//  func[ShowFHTML]
	shift_sp -2
	shift_sp -1
	jump L1294
	jump L1319
L1300
L1319
L1294
	shift_sp -1
	jump L1320
L1293
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 202
	negate
	equal
	push_reg_sp
	fetch_i
	branch_false L1321
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	and
L1321
	branch_false L1323
L1322
	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 33
	less
	branch_false L1325
L1324
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter cus_x1
	push_parameter cus_y1
	push_parameter cus_z1
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L1326
L1325
	shift_sp 1
	push_const 100
	func_call 55	//  func[Rand]
	shift_sp -1
	push_const 66
	less
	branch_false L1328
L1327
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter cus_x2
	push_parameter cus_y2
	push_parameter cus_z2
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
	jump L1329
L1328
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter cus_x3
	push_parameter cus_y3
	push_parameter cus_z3
	func_call 46	//  func[InstantTeleport]
	shift_sp -4
	shift_sp -1
L1329
L1326
	jump L1330
L1323
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 203
	negate
	equal
	branch_false L1332
L1331
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 1
	equal
	branch_false L1334
L1333
	shift_sp 1
	func_call 119	//  func[Castle_BanishOthers]
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAfterBanish
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1334
	jump L1335
L1332
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 204
	negate
	equal
	branch_false L1337
L1336
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_reg_sp
	fetch_i
	push_const 1
	equal
	branch_false L1340
L1339
	shift_sp 1
	func_call 117	//  func[Castle_GetHPRegen]
	push_const 0
	greater
	branch_false L1342
L1341
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAlreadyHaveOption
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1343
L1342
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAddHPRegen1
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1343
	jump L1338
	jump L1344
L1340
	push_reg_sp
	fetch_i
	push_const 2
	equal
	branch_false L1345
L1344
	shift_sp 1
	func_call 117	//  func[Castle_GetHPRegen]
	push_const 1
	greater
	branch_false L1347
L1346
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAlreadyHaveOption
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1348
L1347
	shift_sp 1
	func_call 117	//  func[Castle_GetHPRegen]
	branch_false L1350
L1349
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAddHPRegen2
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1351
L1350
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNeedLowGrade
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1351
L1348
	jump L1338
	jump L1352
L1345
	push_reg_sp
	fetch_i
	push_const 3
	equal
	branch_false L1353
L1352
	shift_sp 1
	func_call 118	//  func[Castle_GetMPRegen]
	push_const 0
	greater
	branch_false L1355
L1354
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAlreadyHaveOption
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1356
L1355
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAddMPRegen1
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1356
	jump L1338
	jump L1357
L1353
	push_reg_sp
	fetch_i
	push_const 4
	equal
	branch_false L1358
L1357
	shift_sp 1
	func_call 118	//  func[Castle_GetMPRegen]
	push_const 1
	greater
	branch_false L1360
L1359
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAlreadyHaveOption
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1361
L1360
	shift_sp 1
	func_call 118	//  func[Castle_GetMPRegen]
	branch_false L1363
L1362
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAddMPRegen2
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1364
L1363
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNeedLowGrade
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1364
L1361
	jump L1338
	jump L1365
L1358
	push_reg_sp
	fetch_i
	push_const 5
	equal
	branch_false L1366
L1365
	shift_sp 1
	func_call 129	//  func[Agit_GetTeleportLevel]
	push_const 0
	greater
	branch_false L1368
L1367
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAlreadyHaveOption
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1369
L1368
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAddTeleporter1
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1369
	jump L1338
	jump L1370
L1366
	push_reg_sp
	fetch_i
	push_const 6
	equal
	branch_false L1371
L1370
	shift_sp 1
	func_call 129	//  func[Agit_GetTeleportLevel]
	push_const 1
	greater
	branch_false L1373
L1372
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAlreadyHaveOption
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1374
L1373
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAddTeleporter2
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1374
	jump L1338
	jump L1375
L1371
L1375
L1338
	shift_sp -1
	jump L1376
L1337
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 205
	negate
	equal
	branch_false L1378
L1377
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_reg_sp
	fetch_i
	push_const 1
	equal
	branch_false L1381
L1380
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 100000
	greater_equal
	branch_false L1383
L1382
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 100000
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_const 1
	func_call 120	//  func[Castle_SetHPRegen]
	shift_sp -1
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAfterOptionAdd
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1384
L1383
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1384
	jump L1379
	jump L1385
L1381
	push_reg_sp
	fetch_i
	push_const 2
	equal
	branch_false L1386
L1385
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 200000
	greater_equal
	branch_false L1388
L1387
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 200000
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_const 2
	func_call 120	//  func[Castle_SetHPRegen]
	shift_sp -1
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAfterOptionAdd
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1389
L1388
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1389
	jump L1379
	jump L1390
L1386
	push_reg_sp
	fetch_i
	push_const 3
	equal
	branch_false L1391
L1390
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 300000
	greater_equal
	branch_false L1393
L1392
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 300000
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_const 1
	func_call 121	//  func[Castle_SetMPRegen]
	shift_sp -1
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAfterOptionAdd
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1394
L1393
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1394
	jump L1379
	jump L1395
L1391
	push_reg_sp
	fetch_i
	push_const 4
	equal
	branch_false L1396
L1395
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 600000
	greater_equal
	branch_false L1398
L1397
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 600000
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_const 2
	func_call 121	//  func[Castle_SetMPRegen]
	shift_sp -1
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAfterOptionAdd
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1399
L1398
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1399
	jump L1379
	jump L1400
L1396
	push_reg_sp
	fetch_i
	push_const 5
	equal
	branch_false L1401
L1400
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 1000
	greater_equal
	branch_false L1403
L1402
	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
	push_const 1
	func_call 130	//  func[Agit_SetTeleportLevel]
	shift_sp -1
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAfterOptionAdd
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1404
L1403
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1404
	jump L1379
	jump L1405
L1401
	push_reg_sp
	fetch_i
	push_const 6
	equal
	branch_false L1406
L1405
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 10000
	greater_equal
	branch_false L1408
L1407
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 10000
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
	push_const 2
	func_call 130	//  func[Agit_SetTeleportLevel]
	shift_sp -1
	shift_sp -1
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnAfterOptionAdd
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
	jump L1409
L1408
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1409
	jump L1379
	jump L1410
L1406
L1410
L1379
	shift_sp -1
L1378
L1376
L1335
L1330
L1320
L91040
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 384	//  bypass -h menu_select?ask=-384
	negate
	equal
	branch_false L91042	//  ˛»ĘÇŇ˝ÁĆ·ţÎńµÄ ask id
L91041
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 0
	push_const 1
	push_const 1000000
	func_call 10	//  func[AddUseSkillDesire]
	shift_sp -5
	shift_sp -1
L91042
handler_end

handler 28	//  TELEPORT_REQUESTED
	variable_begin
		"talker"
		"myself"
		"_choiceN"
		"_code"
		"_from_choice"
	variable_end

	shift_sp 1
	func_call 129	//  func[Agit_GetTeleportLevel]
	push_const 1
	equal
	branch_false L1412
L1411
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_property Position1
	push_parameter ShopName
S241.	""
	push_string S241
S242.	""
	push_string S242
S243.	""
	push_string S243
	func_call 45	//  func[Teleport]
	shift_sp -6
	shift_sp -1
	jump L1413
L1412
	shift_sp 1
	func_call 129	//  func[Agit_GetTeleportLevel]
	push_const 2
	equal
	branch_false L1415
L1414
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_property Position2
	push_parameter ShopName
S244.	""
	push_string S244
S245.	""
	push_string S245
S246.	""
	push_string S246
	func_call 45	//  func[Teleport]
	shift_sp -6
	shift_sp -1
	jump L1416
L1415
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnTeleportLevelZero
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L1416
L1413

handler_end

class_end


Html1
Html2
pipislav is offline  
Old 09.04.2006, 02:59   #2
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

Thanks In Test
kepler001 is offline  
Old 09.04.2006, 07:29   #3
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

how this works? because in the off server you have to enable the "service" like with mpreg hpreg teleport.
Sauron is offline  
Old 09.04.2006, 07:47   #4
jencxxl
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

Quote:
thanks for Hooked help
credits go to vrmp and this was shared befor here on pp acording to him.
jencxxl is offline  
Old 09.04.2006, 07:59   #5
demon
Архивный участник
 
Join Date: May 2005
Posts: 367
Default



demon is offline  
Old 12.04.2006, 01:57   #6
chevitos
Архивный участник
 
Join Date: Mar 2006
Posts: 11
Default

sano provecho con el help.html
chevitos is offline  
Old 12.04.2006, 03:24   #7
kgptzac
Архивный участник
 
Join Date: Jan 2006
Posts: 363
Default

Quote:
Originally Posted by demon


??? what has the image to do with the topic anyway? :roll:
kgptzac is offline  
Old 12.04.2006, 09:40   #8
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

Quote:
Originally Posted by kgptzac
??? what has the image to do with the topic anyway? :roll:
Long story... way too long story!
Megatronpt is offline  
Old 12.04.2006, 13:56   #9
Junglos
Архивный участник
 
Join Date: Mar 2006
Posts: 26
Default

Thx for share will test it
Junglos is offline  
Old 10.05.2006, 02:18   #10
kepler001
Архивный участник
 
Join Date: Jun 2005
Posts: 549
Default

html broken link rehost please
kepler001 is offline  
Old 11.05.2006, 08:37   #11
jencxxl
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

Code:
<a action="bypass -h menu_select?ask=-384&reply=1111554">Windwalk (effect 2) </a>
example
jencxxl is offline  
Old 11.05.2006, 10:08   #12
Megatronpt
Архивный участник
 
Join Date: Jan 2006
Posts: 584
Default

Jencster always on the job
Megatronpt is offline  
Old 16.05.2006, 15:41   #13
Namenlos
Архивный участник
 
Join Date: Mar 2006
Posts: 160
Default

Reshare HTML please
Namenlos is offline  
Old 18.05.2006, 09:42   #14
Mark20
Архивный участник
 
Join Date: Jan 2006
Posts: 54
Default

Quote:
Originally Posted by jencxxl
Code:
<a action="bypass -h menu_select?ask=-384&reply=1111554">Windwalk (effect 2) </a>
example
i see
[s_clan_hall_wind_walk2] = 1111554

reply is skill_pch code ? A question. If u use a modified help.html, can u get any buff? (for example: Super Haste) maybe a problem


something like this...
[s_super_haste4] = 1799428
Code:
<a action="bypass -h menu_select?ask=-384&reply=1799428">Super Haste (level 4) </a>
or maybe tontor dll stop that ?
Mark20 is offline  
Old 18.05.2006, 18:26   #15
Silentz0r
Архивный участник
 
Join Date: Apr 2005
Posts: 122
Default

will stop it because is not added in the html.
Silentz0r is offline  
Old 24.06.2006, 21:14   #16
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

I have tontor patch and not problem..

I have another problem.. in html is price 1000a per buff.. but in AI code is not any line about checking amount adena and deleting it.. please can anyone help me and tell me what add to this code to get this buff payed?

Im think about this..but dunno where to paste it..

Code:
//ASK ABOUT BUFF==========>
L91040
	push_event	//  ask
	push_const 100
	add
	fetch_i
	push_const 384	//  bypass -h menu_select?ask=-384
	negate
	equal
	branch_false L91042	//  ˛»ĘÇŇ˝ÁĆ·ţÎńµÄ ask id
//CHECK FOR MONEY========>
L140500
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	func_call 81	//  func[OwnItemCount]
	shift_sp -2
	push_const 50000
	greater_equal
	branch_false L140800
//DELETE MONEY==============>
L140700
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_const 57
	push_const 50000
	func_call 80	//  func[DeleteItem1]
	shift_sp -3
	shift_sp -1
	shift_sp 1
//CAST BUFF ON PLAYER ========>
L91041
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_event	//  reply
	push_const 104
	add
	fetch_i
	push_const 0
	push_const 1
	push_const 1000000
	func_call 10	//  func[AddUseSkillDesire]
	shift_sp -5
	shift_sp -1
//CAUSE IF PLAYER DONT HAVE ADENA =============>
L140800
	shift_sp 1
	push_event	//  talker
	push_const 32
	add
	fetch_i
	push_parameter fnNotEnoughAdena
	func_call 43	//  func[ShowPage]
	shift_sp -2
	shift_sp -1
L91042
handler_end
Is this OK? I understand AI a little..but can't make my own code...
rodier is offline  
Old 25.06.2006, 01:06   #17
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

lol its working ;] but
1. it tell player he dont have enough adena.. even if he have (and yes, it will buff him and delete adena.. and if dont have money dont buff him..)

and teleport code working only if he go back and again on that page ;[
rodier is offline  
Old 25.06.2006, 09:15   #18
BeTePok
Архивный участник
 
Join Date: Feb 2006
Posts: 204
Default

Quote:
Originally Posted by Mark20
Quote:
Originally Posted by jencxxl
Code:
<a action="bypass -h menu_select?ask=-384&reply=1111554">Windwalk (effect 2) </a>
example
i see
[s_clan_hall_wind_walk2] = 1111554

reply is skill_pch code ? A question. If u use a modified help.html, can u get any buff? (for example: Super Haste) maybe a problem


something like this...
[s_super_haste4] = 1799428
Code:
<a action="bypass -h menu_select?ask=-384&reply=1799428">Super Haste (level 4) </a>
or maybe tontor dll stop that ?
He he test it))))
But tontor patch stop this exploit
BeTePok is offline  
Old 25.06.2006, 12:17   #19
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

BeTePok > you are totally out ;] Im using this code with latest tontor patch and its working OK ........
I have HTML with same code calling.. and no problem..
rodier 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 21:39.