|
You last visited: Today at 16:08
Advertisement
[Help Thread] Please post your questions here.
Discussion on [Help Thread] Please post your questions here. within the Rappelz Private Server forum part of the Rappelz category.
03/25/2013, 00:16
|
#1276
|
elite*gold: 0
Join Date: May 2010
Posts: 85
Received Thanks: 15
|
Quote:
Originally Posted by opie1225
try this link and read up on it ...
also you need to check the syntax of what you changed
|
Thanks I already tried those before posting here  non of them worked, I didnt even change anything in the "c403d1bd9f1aff14710688c4358b34c2"
if there is any working and functioning |"c403d1bd9f1aff14710688c4358b34c2" out here Id be happy to try it.
|
|
|
03/25/2013, 04:18
|
#1277
|
elite*gold: 0
Join Date: Mar 2013
Posts: 77
Received Thanks: 4
|
ok i have added the 'Official rides" to the Adventure NPC in HV but can any body help me add the HV buffs to the mage in HV all he has right now is normal buffs
|
|
|
03/25/2013, 23:02
|
#1278
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,912
Received Thanks: 1,490
|
Here is mine.
It is the 9436be3b0987ccc10977e838ae234d88.lua
There is some extra stuff in there and you can do what you want with it, but there is a Master Class buff section and a GM buff section the only thing I did was write in a permission check on the GM buff section so only a GM can initiate the command.
There is also code for charging for the Master Class buffs.
I am not sure who gets credit for all the extra buff coding as it came with the 8.1 files like I said all I added was a permission check on the server buffs...
Code:
function get_module_name()
return "NPC_Buff"
end
function NPC_Secroute_mage_init()
cprint( "!¸¶µµ»ç Ä«¸£Æ® °¡µ¿" )
set_npc_name( "@90702500" )
end
function NPC_Secroute_mage_contact()
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90702502" )
else
dlg_text( "@90700118" )
end
if is_premium() then
dlg_menu( "@90010197", "nomal_Buff()" )
dlg_menu( "@90010198", "reiterate_Buff()" )
end
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_Buff()
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90702505" )
else
dlg_text( "@90700118" )
end
if is_premium() then
dlg_menu( "@90010130", "nomal_no_charge_Buff()" )
dlg_menu( "@90010131", "nomal_charge_Buff()" )
dlg_menu( "@90010212", "nomal_charge_Buff_cancel()" )
dlg_menu( "Master Class Buffs for 5 Million", "MasterBuff()" )
dlg_menu("Remove Master Class Buffs", "MasterBuffRemove()" )
dlg_menu("Server Buff", "worldbuff()" )
end
dlg_menu( "@90010002", " " )
dlg_show()
end
function reiterate_Buff()
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90702506" )
else
dlg_text( "@90700118" )
end
if is_premium() then
dlg_menu( "@90010130", "reiterate_no_charge_Buff()" )
dlg_menu( "@90010131", "reiterate_charge_Buff()" )
dlg_menu( "@90010212", "reiterate_charge_Buff_cancel()" )
end
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_no_charge_Buff()
dlg_title( "@90702501" )
dlg_text( "@90702503" )
dlg_menu( "@90010199", "nomal_no_charge_Buff_operation(1)" )
dlg_menu( "@90010200", "nomal_no_charge_Buff_operation(2)" )
dlg_menu( "@90010201", "nomal_no_charge_Buff_operation(3)" )
dlg_menu( "@90010202", "nomal_no_charge_Buff_operation(4)" )
dlg_menu( "@90010203", "nomal_no_charge_Buff_operation(5)" )
dlg_menu( "@90010204", "nomal_no_charge_Buff_operation(6)" )
dlg_menu( "@90010249", "nomal_no_charge_Buff_operation(7)" )
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_charge_Buff()
dlg_title( "@90702501" )
dlg_text( "@90702503" )
dlg_menu( "@90010205", "nomal_charge_Buff_operation(1)" )
dlg_menu( "@90010206", "nomal_charge_Buff_operation(2)" )
dlg_menu( "@90010207", "nomal_charge_Buff_operation(3)" )
dlg_menu( "@90010208", "nomal_charge_Buff_operation(4)" )
dlg_menu( "@90010209", "nomal_charge_Buff_operation(5)" )
dlg_menu( "@90010210", "nomal_charge_Buff_operation(6)" )
dlg_menu( "@90010211", "nomal_charge_Buff_operation(7)" )
dlg_menu( "@90010250", "nomal_charge_Buff_operation(8)" )
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_charge_Buff_cancel()
dlg_title( "@90702501" )
dlg_text( "@90702507" )
dlg_menu( "@90010213", "nomal_charge_Buff_cancel_operation(1)" )
dlg_menu( "@90010214", "nomal_charge_Buff_cancel_operation(2)" )
dlg_menu( "@90010215", "nomal_charge_Buff_cancel_operation(3)" )
dlg_menu( "@90010216", "nomal_charge_Buff_cancel_operation(4)" )
dlg_menu( "@90010217", "nomal_charge_Buff_cancel_operation(5)" )
dlg_menu( "@90010218", "nomal_charge_Buff_cancel_operation(6)" )
dlg_menu( "@90010219", "nomal_charge_Buff_cancel_operation(7)" )
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_no_charge_Buff_operation( magic_set )
local state_level_1 = get_state_level( 1011 )
local state_level_2 = get_state_level( 1007 )
local state_level_3 = get_state_level( 1009 )
local state_level_4 = get_state_level( 1008 )
local state_level_5 = get_state_level( 1010 )
local state_level_6 = get_state_level( 1012 )
if magic_set == 1 then
add_state( 1055, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 2 then
add_state( 1051, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 3 then
add_state( 1053, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 4 then
add_state( 1052, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 5 then
add_state( 1054, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 6 then
add_state( 1056, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 7 then
add_state( 1051, 3, 540000 )
add_state( 1052, 3, 540000 )
add_state( 1053, 3, 540000 )
add_state( 1054, 3, 540000 )
add_state( 1055, 3, 540000 )
add_state( 1056, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_charge_Buff_operation( magic_set )
local gold = get_value( "gold" )
local state_level_1 = get_state_level( 1011 )
local state_level_2 = get_state_level( 1007 )
local state_level_3 = get_state_level( 1009 )
local state_level_4 = get_state_level( 1008 )
local state_level_5 = get_state_level( 1010 )
local state_level_6 = get_state_level( 1013 )
local state_level_7 = get_state_level( 1012 )
if gold >= 1000 then
if magic_set == 1 then
add_state( 1055, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 2 then
add_state( 1051, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 3 then
add_state( 1053, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 4 then
add_state( 1052, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 5 then
add_state( 1054, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 6 then
add_state( 1057, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 7 then
add_state( 1056, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if gold >= 7000 then
if magic_set == 8 then
add_state( 1051, 6, 900000 )
add_state( 1052, 6, 900000 )
add_state( 1053, 6, 900000 )
add_state( 1054, 6, 900000 )
add_state( 1055, 6, 900000 )
add_state( 1056, 6, 900000 )
add_state( 1057, 6, 900000 )
set_value( "gold", gold - 7000 )
update_gold_chaos()
nomal_charge_Buff()
return
end
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
else
dlg_title( "@90702501" )
dlg_text( "@90702504" )
end
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_charge_Buff_cancel_operation( magic_set )
if magic_set == 1 then
remove_state( 1055, 6 )
elseif magic_set == 2 then
remove_state( 1051, 6 )
elseif magic_set == 3 then
remove_state( 1053, 6 )
elseif magic_set == 4 then
remove_state( 1052, 6 )
elseif magic_set == 5 then
remove_state( 1054, 6 )
elseif magic_set == 6 then
remove_state( 1057, 6 )
else
remove_state( 1056, 6 )
end
nomal_charge_Buff_cancel()
end
function reiterate_no_charge_Buff()
dlg_title( "@90702501" )
dlg_text( "@90702503" )
dlg_menu( "@90010132", "reiterate_no_charge_Buff_operation(1)" )
dlg_menu( "@90010133", "reiterate_no_charge_Buff_operation(2)" )
dlg_menu( "@90010134", "reiterate_no_charge_Buff_operation(3)" )
dlg_menu( "@90010135", "reiterate_no_charge_Buff_operation(4)" )
dlg_menu( "@90010136", "reiterate_no_charge_Buff_operation(5)" )
dlg_menu( "@90010138", "reiterate_no_charge_Buff_operation(6)" )
dlg_menu( "@90010249", "reiterate_no_charge_Buff_operation(7)" )
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function reiterate_charge_Buff()
dlg_title( "@90702501" )
dlg_text( "@90702503" )
dlg_menu( "@90010139", "reiterate_charge_Buff_operation(1)" )
dlg_menu( "@90010140", "reiterate_charge_Buff_operation(2)" )
dlg_menu( "@90010141", "reiterate_charge_Buff_operation(3)" )
dlg_menu( "@90010142", "reiterate_charge_Buff_operation(4)" )
dlg_menu( "@90010143", "reiterate_charge_Buff_operation(5)" )
dlg_menu( "@90010144", "reiterate_charge_Buff_operation(6)" )
dlg_menu( "@90010145", "reiterate_charge_Buff_operation(7)" )
dlg_menu( "@90010250", "reiterate_charge_Buff_operation(8)" )
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function reiterate_charge_Buff_cancel()
dlg_title( "@90702501" )
dlg_text( "@90702507" )
dlg_menu( "@90010213", "reiterate_charge_Buff_cancel_operation(1)" )
dlg_menu( "@90010214", "reiterate_charge_Buff_cancel_operation(2)" )
dlg_menu( "@90010215", "reiterate_charge_Buff_cancel_operation(3)" )
dlg_menu( "@90010216", "reiterate_charge_Buff_cancel_operation(4)" )
dlg_menu( "@90010217", "reiterate_charge_Buff_cancel_operation(5)" )
dlg_menu( "@90010218", "reiterate_charge_Buff_cancel_operation(6)" )
dlg_menu( "@90010219", "reiterate_charge_Buff_cancel_operation(7)" )
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function reiterate_no_charge_Buff_operation( magic_set )
local state_level_1 = get_state_level( 1055 )
local state_level_2 = get_state_level( 1051 )
local state_level_3 = get_state_level( 1053 )
local state_level_4 = get_state_level( 1052 )
local state_level_5 = get_state_level( 1054 )
local state_level_6 = get_state_level( 1056 )
if magic_set == 1 then
add_state( 1011, 3, 540000 )
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 2 then
add_state( 1007, 3, 540000 )
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 3 then
add_state( 1009, 3, 540000 )
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 4 then
add_state( 1008, 3, 540000 )
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 5 then
add_state( 1010, 3, 540000 )
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 6 then
add_state( 1012, 3, 540000 )
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 7 then
add_state( 1007, 3, 540000 )
add_state( 1008, 3, 540000 )
add_state( 1009, 3, 540000 )
add_state( 1010, 3, 540000 )
add_state( 1011, 3, 540000 )
add_state( 1012, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function reiterate_charge_Buff_operation( magic_set )
local gold = get_value( "gold" )
local state_level_1 = get_state_level( 1055 )
local state_level_2 = get_state_level( 1051 )
local state_level_3 = get_state_level( 1053 )
local state_level_4 = get_state_level( 1052 )
local state_level_5 = get_state_level( 1054 )
local state_level_6 = get_state_level( 1057 )
local state_level_7 = get_state_level( 1056 )
if gold >= 1000 then
if magic_set == 1 then
add_state( 1011, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 2 then
add_state( 1007, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 3 then
add_state( 1009, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 4 then
add_state( 1008, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 5 then
add_state( 1010, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 6 then
add_state( 1013, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 7 then
add_state( 1012, 6, 900000 )
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if gold >= 7000 then
if magic_set == 8 then
add_state( 1007, 6, 900000 )
add_state( 1008, 6, 900000 )
add_state( 1009, 6, 900000 )
add_state( 1010, 6, 900000 )
add_state( 1011, 6, 900000 )
add_state( 1012, 6, 900000 )
add_state( 1013, 6, 900000 )
set_value( "gold", gold - 7000 )
update_gold_chaos()
nomal_charge_Buff()
return
end
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
else
dlg_title( "@90702501" )
dlg_text( "@90702504" )
end
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function reiterate_charge_Buff_cancel_operation( magic_set )
if magic_set == 1 then
remove_state( 1011, 6 )
elseif magic_set == 2 then
remove_state( 1007, 6 )
elseif magic_set == 3 then
remove_state( 1009, 6 )
elseif magic_set == 4 then
remove_state( 1008, 6 )
elseif magic_set == 5 then
remove_state( 1010, 6 )
elseif magic_set == 6 then
remove_state( 1013, 6 )
else
remove_state( 1012, 6 )
end
reiterate_charge_Buff_cancel()
end
function NPC_Foreign_Secroute_mage_contact()
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90999607" )
else
dlg_text( "@90700118" )
end
if is_premium() then
dlg_menu( "@90010198", "Foreign_reiterate_charge_Buff()" )
dlg_menu( "@90010212", "Foreign_reiterate_charge_Buff_cancel()" )
dlg_menu( "Master Class Buffs", "MasterBuff()" )
dlg_menu("Remove Master Class Buffs", "MasterBuffRemove()" )
dlg_menu("Remove Master Class Buffs", "MasterBuffRemove()" )
dlg_menu("World Buffs", "worldbuff()" )
end
dlg_menu( "@90010002", " " )
dlg_show()
end
function Foreign_reiterate_charge_Buff()
dlg_title( "@90702501" )
dlg_text( "@90702503" )
dlg_menu( "@90999609", "Foreign_reiterate_charge_Buff_operation(1)" )
dlg_menu( "@90999610", "Foreign_reiterate_charge_Buff_operation(2)" )
dlg_menu( "@90999611", "Foreign_reiterate_charge_Buff_operation(3)" )
dlg_menu( "@90999612", "Foreign_reiterate_charge_Buff_operation(4)" )
dlg_menu( "@90999613", "Foreign_reiterate_charge_Buff_operation(5)" )
dlg_menu( "@90999614", "Foreign_reiterate_charge_Buff_operation(6)" )
dlg_menu( "@90999615", "Foreign_reiterate_charge_Buff_operation(7)" )
dlg_menu( "@90999616", "Foreign_reiterate_charge_Buff_operation(8)" )
dlg_menu( "@90010003", "NPC_Foreign_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function Foreign_reiterate_charge_Buff_operation( magic_set )
local gold = get_value( "gold" )
local state_level_1 = get_state_level( 1055 )
local state_level_2 = get_state_level( 1051 )
local state_level_3 = get_state_level( 1053 )
local state_level_4 = get_state_level( 1052 )
local state_level_5 = get_state_level( 1054 )
local state_level_6 = get_state_level( 1057 )
local state_level_7 = get_state_level( 1056 )
if gold >= 3000 then
if magic_set == 1 then
add_state( 1011, 6, 360000 )
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 2 then
add_state( 1007, 6, 360000 )
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 3 then
add_state( 1009, 6, 360000 )
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 4 then
add_state( 1008, 6, 360000 )
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 5 then
add_state( 1010, 6, 360000 )
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 6 then
add_state( 1013, 6, 360000 )
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 7 then
add_state( 1012, 6, 360000 )
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if gold >= 21000 then
if magic_set == 8 then
add_state( 1007, 6, 360000 )
add_state( 1008, 6, 360000 )
add_state( 1009, 6, 360000 )
add_state( 1010, 6, 360000 )
add_state( 1011, 6, 360000 )
add_state( 1012, 6, 360000 )
add_state( 1013, 6, 360000 )
set_value( "gold", gold - 21000 )
update_gold_chaos()
nomal_charge_Buff()
return
end
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
else
dlg_title( "@90702501" )
dlg_text( "@90702504" )
end
dlg_menu( "@90010003", "NPC_Foreign_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function Foreign_reiterate_charge_Buff_cancel()
dlg_title( "@90702501" )
dlg_text( "@90702507" )
dlg_menu( "@90010213", "Foreign_reiterate_charge_Buff_cancel_operation(1)" )
dlg_menu( "@90010214", "Foreign_reiterate_charge_Buff_cancel_operation(2)" )
dlg_menu( "@90010215", "Foreign_reiterate_charge_Buff_cancel_operation(3)" )
dlg_menu( "@90010216", "Foreign_reiterate_charge_Buff_cancel_operation(4)" )
dlg_menu( "@90010217", "Foreign_reiterate_charge_Buff_cancel_operation(5)" )
dlg_menu( "@90010218", "Foreign_reiterate_charge_Buff_cancel_operation(6)" )
dlg_menu( "@90010219", "Foreign_reiterate_charge_Buff_cancel_operation(7)" )
dlg_menu( "@90010003", "NPC_Foreign_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
function Foreign_reiterate_charge_Buff_cancel_operation( magic_set )
if magic_set == 1 then
remove_state( 1011, 6 )
elseif magic_set == 2 then
remove_state( 1007, 6 )
elseif magic_set == 3 then
remove_state( 1009, 6 )
elseif magic_set == 4 then
remove_state( 1008, 6 )
elseif magic_set == 5 then
remove_state( 1010, 6 )
elseif magic_set == 6 then
remove_state( 1013, 6 )
else
remove_state( 1012, 6 )
end
Foreign_reiterate_charge_Buff_cancel()
end
function MasterBuff()
local gold = gv("gold")
if gold >= 5000000
then sv("gold",gold -5000000)
update_gold_chaos()
add_state(163407,55,360000)
add_state(163404,55,360000)
add_state(163405,55,360000)
add_state(163406,55,360000)
add_state(2507,320,360000)
add_state(2505,320,360000)
add_state(163433,80,360000)
add_state(314016,72,360000)
add_state(163429,10,360000)
add_state(2508,41,360000)
add_state(2506,41,360000)
add_state(314017,72,360000)
add_state(314018,72,360000)
add_state(13423,40,360000)
add_state(13424,290,360000)
add_state(13425,290,360000)
add_state(163448,40,360000)
add_state(163449,40,360000)
add_state(314049,120,360000)
add_state(314099,96,360000)
add_cstate(163407,55,360000)
add_cstate(163404,55,360000)
add_cstate(163405,55,360000)
add_cstate(163406,55,360000)
add_cstate(2507,320,360000)
add_cstate(2505,320,360000)
add_cstate(163433,80,360000)
add_cstate(314016,72,360000)
add_cstate(163429,10,360000)
add_cstate(2508,41,360000)
add_cstate(2506,41,360000)
add_cstate(314017,72,360000)
add_cstate(314018,72,360000)
add_cstate(13423,40,360000)
add_cstate(13424,290,360000)
add_cstate(13425,290,360000)
add_cstate(163448,40,360000)
add_cstate(163449,40,360000)
add_cstate(314049,120,360000)
add_cstate(314099,96,360000)
else dlg_title( "@90702501" )
dlg_text( "@90702504" )
dlg_menu( "@90010003", "NPC_Foreign_Secroute_mage_contact()" )
dlg_menu( "@90010002", " " )
dlg_show()
end
end
function MasterBuffRemove()
remove_state(163407,555)
remove_state(163404,555)
remove_state(163405,555)
remove_state(163406,555)
remove_state(2507,925)
remove_state(2505,925)
remove_state(163433,805)
remove_state(314016,725)
remove_state(163429,105)
remove_state(2508,415)
remove_state(2506,415)
remove_state(314017,725)
remove_state(314018,725)
remove_state(13423,405)
remove_state(13424,905)
remove_state(13425,905)
remove_state(163448,405)
remove_state(163449,405)
remove_state(314049,905)
remove_state(314099,965)
remove_cstate(163407,555)
remove_cstate(163404,555)
remove_cstate(163405,555)
remove_cstate(163406,555)
remove_cstate(2507,805)
remove_cstate(2505,805)
remove_cstate(163433,805)
remove_cstate(314016,725)
remove_cstate(163429,105)
remove_cstate(2508,415)
remove_cstate(2506,415)
remove_cstate(314017,725)
remove_cstate(314018,725)
remove_cstate(13423,405)
remove_cstate(13424,805)
remove_cstate(13425,805)
remove_cstate(163448,405)
remove_cstate(163449,405)
remove_cstate(314049,805)
remove_cstate(314099,965)
end
function worldbuff()
local permission = gv("permission")
if permission == 100 then
cast_world_state(163407,200,360000)
cast_world_state(163404,200,360000)
cast_world_state(163405,200,360000)
cast_world_state(163406,200,360000)
cast_world_state(2507,1000,360000)
cast_world_state(2505,1000,360000)
cast_world_state(163433,80,360000)
cast_world_state(314016,200,360000)
cast_world_state(163429,60,360000)
cast_world_state(2508,100,360000)
cast_world_state(2506,100,360000)
cast_world_state(314017,150,360000)
cast_world_state(314018,200,360000)
cast_world_state(13423,100,360000)
cast_world_state(13424,1000,360000)
cast_world_state(13425,1000,360000)
cast_world_state(163448,200,360000)
cast_world_state(163449,200,360000)
cast_world_state(314049,400,360000)
notice("GM Buffs For All")
else
dlg_title( "@90702501" )
dlg_text( "Sorry but you must be a GM to buff the server" )
end
end
Oops...I forgot I removed the check that keeps buffs from overlapping so here is the original code also if you want it...
Code:
-- Lua ½ºÅ©¸³Æ® ¾ÏÈ£È*
function get_module_name()
return "NPC_Buff"
end
--============================================================
--=============== ½ÃÅ©·çÆ® ¸¶µµ»ç Ä«¸£Æ®
--============================================================
function NPC_Secroute_mage_init()
cprint( "!¸¶µµ»ç Ä«¸£Æ® °¡µ¿" )
set_npc_name( "@90702500" )
end
function NPC_Secroute_mage_contact()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90702502" )
else
dlg_text( "@90700118" )
end
-- ½ÃÅ©·çÆ® ÇÁ¸®ÆÐ½º°¡ Ȱ¼ºÈ*µÈ »óÅÂ(ÇÁ¸®¹Ì¾ö ȸ¿ø)
if is_premium() then
-- ÀÏ¹Ý ¸¶¹ý
dlg_menu( "@90010197", "nomal_Buff()" )
-- Áßø ¸¶¹ý
dlg_menu( "@90010198", "reiterate_Buff()" )
end
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
function nomal_Buff()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90702505" )
else
dlg_text( "@90700118" )
end
-- ½ÃÅ©·çÆ® ÇÁ¸®ÆÐ½º°¡ Ȱ¼ºÈ*µÈ »óÅÂ(ÇÁ¸®¹Ì¾ö ȸ¿ø)
if is_premium() then
-- ÀÏ¹Ý ¹«·á ¸¶¹ý
dlg_menu( "@90010130", "nomal_no_charge_Buff()" )
-- ÀÏ¹Ý À¯·á ¸¶¹ý
dlg_menu( "@90010131", "nomal_charge_Buff()" )
-- ÀÏ¹Ý À¯·á ¸¶¹ý Ãë¼ÒÇϱâ
dlg_menu( "@90010212", "nomal_charge_Buff_cancel()" )
end
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
function reiterate_Buff()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90702506" )
else
dlg_text( "@90700118" )
end
-- ½ÃÅ©·çÆ® ÇÁ¸®ÆÐ½º°¡ Ȱ¼ºÈ*µÈ »óÅÂ(ÇÁ¸®¹Ì¾ö ȸ¿ø)
if is_premium() then
-- Áßø ¹«·á ¸¶¹ý
dlg_menu( "@90010130", "reiterate_no_charge_Buff()" )
-- Áßø À¯·á ¸¶¹ý
dlg_menu( "@90010131", "reiterate_charge_Buff()" )
-- Áßø À¯·á ¸¶¹ý Ãë¼Ò
dlg_menu( "@90010212", "reiterate_charge_Buff_cancel()" )
end
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý ¹«·á ¹öÇÁ
function nomal_no_charge_Buff()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702503" )
-- °ø¼Ó Áõ°¡ lv3
dlg_menu( "@90010199", "nomal_no_charge_Buff_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv3
dlg_menu( "@90010200", "nomal_no_charge_Buff_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv3
dlg_menu( "@90010201", "nomal_no_charge_Buff_operation(3)" )
-- ¸¶·Â Áõ°¡ lv3
dlg_menu( "@90010202", "nomal_no_charge_Buff_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv3
dlg_menu( "@90010203", "nomal_no_charge_Buff_operation(5)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv3
dlg_menu( "@90010204", "nomal_no_charge_Buff_operation(6)" )
--1~6¹ø 6Á¾ ¹öÇÁ Çѹø¿¡ ¹Þ±â
dlg_menu( "@90010249", "nomal_no_charge_Buff_operation(7)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ
function nomal_charge_Buff()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702503" )
-- °ø¼Ó Áõ°¡ lv6
dlg_menu( "@90010205", "nomal_charge_Buff_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv6
dlg_menu( "@90010206", "nomal_charge_Buff_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv6
dlg_menu( "@90010207", "nomal_charge_Buff_operation(3)" )
-- ¸¶·Â Áõ°¡ lv6
dlg_menu( "@90010208", "nomal_charge_Buff_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv6
dlg_menu( "@90010209", "nomal_charge_Buff_operation(5)" )
-- À̵¿¼Óµµ Áõ°¡ lv6
dlg_menu( "@90010210", "nomal_charge_Buff_operation(6)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv6
dlg_menu( "@90010211", "nomal_charge_Buff_operation(7)" )
--1~7¹ø 7Á¾ ¹öÇÁ Çѹø¿¡ ¹Þ±â
dlg_menu( "@90010250", "nomal_charge_Buff_operation(8)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ Ãë¼ÒÇϱâ
function nomal_charge_Buff_cancel()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702507" )
-- °ø¼Ó Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010213", "nomal_charge_Buff_cancel_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010214", "nomal_charge_Buff_cancel_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010215", "nomal_charge_Buff_cancel_operation(3)" )
-- ¸¶·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010216", "nomal_charge_Buff_cancel_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010217", "nomal_charge_Buff_cancel_operation(5)" )
-- À̵¿¼Óµµ Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010218", "nomal_charge_Buff_cancel_operation(6)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010219", "nomal_charge_Buff_cancel_operation(7)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý ¹«·á ¹öÇÁ °É±â
function nomal_no_charge_Buff_operation( magic_set )
-- ¹öÇÁ 7Á¾ ¹Þ¾Æ¿À±â
local state_level_1 = get_state_level( 1011 )
local state_level_2 = get_state_level( 1007 )
local state_level_3 = get_state_level( 1009 )
local state_level_4 = get_state_level( 1008 )
local state_level_5 = get_state_level( 1010 )
local state_level_6 = get_state_level( 1012 )
if magic_set == 1 and state_level_1 == 0 then
add_state( 1055, 3, 540000 ) -- °ø¼Ólv3 Áõ°¡
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 2 and state_level_2 == 0 then
add_state( 1051, 3, 540000 ) -- °ø°Ý·Âlv3 Áõ°¡
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 3 and state_level_3 == 0 then
add_state( 1053, 3, 540000 ) -- ¹æ¾î·Âlv3 Áõ°¡
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 4 and state_level_4 == 0 then
add_state( 1052, 3, 540000 ) -- ¸¶·Âlv3 Áõ°¡
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 5 and state_level_5 == 0 then
add_state( 1054, 3, 540000 ) -- ¸¶¹ý¹æ¾î·Âlv3 Áõ°¡
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 6 and state_level_6 == 0 then
add_state( 1056, 3, 540000 ) -- ½ÃÀü¼Óµµlv3 Áõ°¡
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 7 and state_level_1 == 0 and state_level_2 == 0 and state_level_3 == 0 and state_level_4 == 0 and state_level_5 == 0 and state_level_6 == 0 then
add_state( 1051, 3, 540000 )
add_state( 1052, 3, 540000 )
add_state( 1053, 3, 540000 )
add_state( 1054, 3, 540000 )
add_state( 1055, 3, 540000 )
add_state( 1056, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ °É±â
function nomal_charge_Buff_operation( magic_set )
local gold = get_value( "gold" )
-- ¹öÇÁ 7Á¾ ¹Þ¾Æ¿À±â
local state_level_1 = get_state_level( 1011 )
local state_level_2 = get_state_level( 1007 )
local state_level_3 = get_state_level( 1009 )
local state_level_4 = get_state_level( 1008 )
local state_level_5 = get_state_level( 1010 )
local state_level_6 = get_state_level( 1013 )
local state_level_7 = get_state_level( 1012 )
if gold >= 1000 then
if magic_set == 1 and state_level_1 == 0 then
add_state( 1055, 6, 900000 ) -- °ø¼Ólv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 2 and state_level_2 == 0 then
add_state( 1051, 6, 900000 ) -- °ø°Ý·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 3 and state_level_3 == 0 then
add_state( 1053, 6, 900000 ) -- ¹æ¾î·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 4 and state_level_4 == 0 then
add_state( 1052, 6, 900000 ) -- ¸¶·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 5 and state_level_5 == 0 then
add_state( 1054, 6, 900000 ) -- ¸¶¹ý¹æ¾î·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 6 and state_level_6 == 0 then
add_state( 1057, 6, 900000 ) -- À̵¿¼Óµµlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if magic_set == 7 and state_level_7 == 0 then
add_state( 1056, 6, 900000 ) -- ½ÃÀü¼Óµµlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
nomal_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
if gold >= 7000 then
if magic_set == 8 and state_level_1 == 0 and state_level_2 == 0 and state_level_3 == 0 and state_level_4 == 0 and state_level_5 == 0 and state_level_6 == 0 and state_level_7 == 0 then
add_state( 1051, 6, 900000 )
add_state( 1052, 6, 900000 )
add_state( 1053, 6, 900000 )
add_state( 1054, 6, 900000 )
add_state( 1055, 6, 900000 )
add_state( 1056, 6, 900000 )
add_state( 1057, 6, 900000 )
set_value( "gold", gold - 7000 )
update_gold_chaos()
nomal_charge_Buff()
return
end
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
else
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702504" )
end
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ °É±â Ãë¼ÒÇϱâ
function nomal_charge_Buff_cancel_operation( magic_set )
if magic_set == 1 then
remove_state( 1055, 6 ) -- °ø¼Ólv6 Ãë¼Ò
elseif magic_set == 2 then
remove_state( 1051, 6 ) -- °ø°Ý·Âlv6 Ãë¼Ò
elseif magic_set == 3 then
remove_state( 1053, 6 ) -- ¹æ¾î·Âlv6 Ãë¼Ò
elseif magic_set == 4 then
remove_state( 1052, 6 ) -- ¸¶·Âlv6 Ãë¼Ò
elseif magic_set == 5 then
remove_state( 1054, 6 ) -- ¸¶¹ý¹æ¾î·Âlv6 Ãë¼Ò
elseif magic_set == 6 then
remove_state( 1057, 6 ) -- À̵¿¼Óµµlv6 Ãë¼Ò
else
remove_state( 1056, 6 ) -- ½ÃÀü¼Óµµlv6 Ãë¼Ò
end
nomal_charge_Buff_cancel()
end
-- Áßø ¹«·á ¸¶¹ý ´ë»ç
function reiterate_no_charge_Buff()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702503" )
-- °ø¼Ó Áõ°¡ lv3
dlg_menu( "@90010132", "reiterate_no_charge_Buff_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv3
dlg_menu( "@90010133", "reiterate_no_charge_Buff_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv3
dlg_menu( "@90010134", "reiterate_no_charge_Buff_operation(3)" )
-- ¸¶·Â Áõ°¡ lv3
dlg_menu( "@90010135", "reiterate_no_charge_Buff_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv3
dlg_menu( "@90010136", "reiterate_no_charge_Buff_operation(5)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv3
dlg_menu( "@90010138", "reiterate_no_charge_Buff_operation(6)" )
--1~6¹ø 6Á¾ ¹öÇÁ Çѹø¿¡ ¹Þ±â
dlg_menu( "@90010249", "reiterate_no_charge_Buff_operation(7)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- Áßø À¯·á ¸¶¹ý ´ë»ç
function reiterate_charge_Buff()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702503" )
-- °ø¼Ó Áõ°¡ lv6
dlg_menu( "@90010139", "reiterate_charge_Buff_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv6
dlg_menu( "@90010140", "reiterate_charge_Buff_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv6
dlg_menu( "@90010141", "reiterate_charge_Buff_operation(3)" )
-- ¸¶·Â Áõ°¡ lv6
dlg_menu( "@90010142", "reiterate_charge_Buff_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv6
dlg_menu( "@90010143", "reiterate_charge_Buff_operation(5)" )
-- À̵¿¼Óµµ Áõ°¡ lv6
dlg_menu( "@90010144", "reiterate_charge_Buff_operation(6)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv6
dlg_menu( "@90010145", "reiterate_charge_Buff_operation(7)" )
--1~7¹ø 7Á¾ ¹öÇÁ Çѹø¿¡ ¹Þ±â
dlg_menu( "@90010250", "reiterate_charge_Buff_operation(8)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ Ãë¼ÒÇϱâ
function reiterate_charge_Buff_cancel()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702507" )
-- °ø¼Ó Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010213", "reiterate_charge_Buff_cancel_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010214", "reiterate_charge_Buff_cancel_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010215", "reiterate_charge_Buff_cancel_operation(3)" )
-- ¸¶·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010216", "reiterate_charge_Buff_cancel_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010217", "reiterate_charge_Buff_cancel_operation(5)" )
-- À̵¿¼Óµµ Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010218", "reiterate_charge_Buff_cancel_operation(6)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010219", "reiterate_charge_Buff_cancel_operation(7)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- Áßø ¹«·á ¸¶¹ý °É±â
function reiterate_no_charge_Buff_operation( magic_set )
-- ¹öÇÁ 7Á¾ ¹Þ¾Æ¿À±â
local state_level_1 = get_state_level( 1055 )
local state_level_2 = get_state_level( 1051 )
local state_level_3 = get_state_level( 1053 )
local state_level_4 = get_state_level( 1052 )
local state_level_5 = get_state_level( 1054 )
local state_level_6 = get_state_level( 1056 )
if magic_set == 1 and state_level_1 == 0 then
add_state( 1011, 3, 540000 ) -- °ø¼Ólv3 Áõ°¡
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 2 and state_level_2 == 0 then
add_state( 1007, 3, 540000 ) -- °ø°Ý·Âlv3 Áõ°¡
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 3 and state_level_3 == 0 then
add_state( 1009, 3, 540000 ) -- ¹æ¾î·Âlv3 Áõ°¡
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 4 and state_level_4 == 0 then
add_state( 1008, 3, 540000 ) -- ¸¶·Âlv3 Áõ°¡
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 5 and state_level_5 == 0 then
add_state( 1010, 3, 540000 ) -- ¸¶¹ý¹æ¾î·Âlv3 Áõ°¡
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 6 and state_level_6 == 0 then
add_state( 1012, 3, 540000 ) -- ½ÃÀü¼Óµµlv3 Áõ°¡
reiterate_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 7 and state_level_1 == 0 and state_level_2 == 0 and state_level_3 == 0 and state_level_4 == 0 and state_level_5 == 0 and state_level_6 == 0 then
add_state( 1007, 3, 540000 )
add_state( 1008, 3, 540000 )
add_state( 1009, 3, 540000 )
add_state( 1010, 3, 540000 )
add_state( 1011, 3, 540000 )
add_state( 1012, 3, 540000 )
nomal_no_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- Áßø À¯·á ¸¶¹ý °É±â
function reiterate_charge_Buff_operation( magic_set )
local gold = get_value( "gold" )
-- ¹öÇÁ 7Á¾ ¹Þ¾Æ¿À±â
local state_level_1 = get_state_level( 1055 )
local state_level_2 = get_state_level( 1051 )
local state_level_3 = get_state_level( 1053 )
local state_level_4 = get_state_level( 1052 )
local state_level_5 = get_state_level( 1054 )
local state_level_6 = get_state_level( 1057 )
local state_level_7 = get_state_level( 1056 )
if gold >= 1000 then
if magic_set == 1 and state_level_1 == 0 then
add_state( 1011, 6, 900000 ) -- °ø¼Ólv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 2 and state_level_2 == 0 then
add_state( 1007, 6, 900000 ) -- °ø°Ý·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 3 and state_level_3 == 0 then
add_state( 1009, 6, 900000 ) -- ¹æ¾î·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 4 and state_level_4 == 0 then
add_state( 1008, 6, 900000 ) -- ¸¶·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 5 and state_level_5 == 0 then
add_state( 1010, 6, 900000 ) -- ¸¶¹ý¹æ¾î·Âlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 6 and state_level_6 == 0 then
add_state( 1013, 6, 900000 ) -- À̵¿¼Óµµlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 7 and state_level_7 == 0 then
add_state( 1012, 6, 900000 ) -- ½ÃÀü¼Óµµlv6 Áõ°¡
set_value( "gold", gold - 1000 )
update_gold_chaos()
reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if gold >= 7000 then
if magic_set == 8 and state_level_1 == 0 and state_level_2 == 0 and state_level_3 == 0 and state_level_4 == 0 and state_level_5 == 0 and state_level_6 == 0 and state_level_7 == 0 then
add_state( 1007, 6, 900000 )
add_state( 1008, 6, 900000 )
add_state( 1009, 6, 900000 )
add_state( 1010, 6, 900000 )
add_state( 1011, 6, 900000 )
add_state( 1012, 6, 900000 )
add_state( 1013, 6, 900000 )
set_value( "gold", gold - 7000 )
update_gold_chaos()
nomal_charge_Buff()
return
end
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
else
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702504" )
end
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ °É±â Ãë¼ÒÇϱâ
function reiterate_charge_Buff_cancel_operation( magic_set )
if magic_set == 1 then
remove_state( 1011, 6 ) -- °ø¼Ólv6 Ãë¼Ò
elseif magic_set == 2 then
remove_state( 1007, 6 ) -- °ø°Ý·Âlv6 Ãë¼Ò
elseif magic_set == 3 then
remove_state( 1009, 6 ) -- ¹æ¾î·Âlv6 Ãë¼Ò
elseif magic_set == 4 then
remove_state( 1008, 6 ) -- ¸¶·Âlv6 Ãë¼Ò
elseif magic_set == 5 then
remove_state( 1010, 6 ) -- ¸¶¹ý¹æ¾î·Âlv6 Ãë¼Ò
elseif magic_set == 6 then
remove_state( 1013, 6 ) -- À̵¿¼Óµµlv6 Ãë¼Ò
else
remove_state( 1012, 6 ) -- ½ÃÀü¼Óµµlv6 Ãë¼Ò
end
reiterate_charge_Buff_cancel()
end
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
-------------------------------- ÇØ¿Ü ½ÃÅ©·çÆ® ¹öÇÁ ------------------------------------
---------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------
function NPC_Foreign_Secroute_mage_contact()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
if is_premium() then
dlg_text( "@90999607" ) --½ÃÅ©·çÆ®°¡ ÀÖ´Â »ç¶÷
else
dlg_text( "@90700118" ) --½ÃÅ©·çÆ®°¡ ¾ø´Â »ç¶÷
end
-- ½ÃÅ©·çÆ® ÇÁ¸®ÆÐ½º°¡ Ȱ¼ºÈ*µÈ »óÅÂ(ÇÁ¸®¹Ì¾ö ȸ¿ø)
if is_premium() then
-- Áßø ¸¶¹ý
dlg_menu( "@90010198", "Foreign_reiterate_charge_Buff()" )
-- Áßø À¯·á ¸¶¹ý Ãë¼Ò
dlg_menu( "@90010212", "Foreign_reiterate_charge_Buff_cancel()" )
end
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- Áßø À¯·á ¸¶¹ý ´ë»ç
function Foreign_reiterate_charge_Buff()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702503" )
-- °ø¼Ó Áõ°¡ lv6
dlg_menu( "@90999609", "Foreign_reiterate_charge_Buff_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv6
dlg_menu( "@90999610", "Foreign_reiterate_charge_Buff_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv6
dlg_menu( "@90999611", "Foreign_reiterate_charge_Buff_operation(3)" )
-- ¸¶·Â Áõ°¡ lv6
dlg_menu( "@90999612", "Foreign_reiterate_charge_Buff_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv6
dlg_menu( "@90999613", "Foreign_reiterate_charge_Buff_operation(5)" )
-- À̵¿¼Óµµ Áõ°¡ lv6
dlg_menu( "@90999614", "Foreign_reiterate_charge_Buff_operation(6)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv6
dlg_menu( "@90999615", "Foreign_reiterate_charge_Buff_operation(7)" )
--1~7¹ø 7Á¾ ¹öÇÁ Çѹø¿¡ ¹Þ±â
dlg_menu( "@90999616", "Foreign_reiterate_charge_Buff_operation(8)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Foreign_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- Áßø À¯·á ¸¶¹ý °É±â
function Foreign_reiterate_charge_Buff_operation( magic_set )
local gold = get_value( "gold" )
-- ¹öÇÁ 7Á¾ ¹Þ¾Æ¿À±â
local state_level_1 = get_state_level( 1055 )
local state_level_2 = get_state_level( 1051 )
local state_level_3 = get_state_level( 1053 )
local state_level_4 = get_state_level( 1052 )
local state_level_5 = get_state_level( 1054 )
local state_level_6 = get_state_level( 1057 )
local state_level_7 = get_state_level( 1056 )
if gold >= 3000 then
if magic_set == 1 and state_level_1 == 0 then
add_state( 1011, 6, 360000 ) -- °ø¼Ó 12% Áõ°¡
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 2 and state_level_2 == 0 then
add_state( 1007, 6, 360000 ) -- °ø°Ý·Â 18% Áõ°¡
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 3 and state_level_3 == 0 then
add_state( 1009, 6, 360000 ) -- ¹æ¾î·Âlv6 Áõ°¡
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 4 and state_level_4 == 0 then
add_state( 1008, 6, 360000 ) -- ¸¶·Âlv6 Áõ°¡
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 5 and state_level_5 == 0 then
add_state( 1010, 6, 360000 ) -- ¸¶¹ý¹æ¾î·Âlv6 Áõ°¡
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 6 and state_level_6 == 0 then
add_state( 1013, 6, 360000 ) -- À̵¿¼Óµµlv6 Áõ°¡
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if magic_set == 7 and state_level_7 == 0 then
add_state( 1012, 6, 360000 ) -- ½ÃÀü¼Óµµlv6 Áõ°¡
set_value( "gold", gold - 3000 )
update_gold_chaos()
Foreign_reiterate_charge_Buff()
return
else
dlg_title( "@90702501" )
dlg_text( "@90702509" )
end
if gold >= 21000 then
if magic_set == 8 and state_level_1 == 0 and state_level_2 == 0 and state_level_3 == 0 and state_level_4 == 0 and state_level_5 == 0 and state_level_6 == 0 and state_level_7 == 0 then
add_state( 1007, 6, 360000 )
add_state( 1008, 6, 360000 )
add_state( 1009, 6, 360000 )
add_state( 1010, 6, 360000 )
add_state( 1011, 6, 360000 )
add_state( 1012, 6, 360000 )
add_state( 1013, 6, 360000 )
set_value( "gold", gold - 21000 )
update_gold_chaos()
nomal_charge_Buff()
return
end
else
dlg_title( "@90702501" )
dlg_text( "@90702508" )
end
else
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702504" )
end
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Foreign_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ Ãë¼ÒÇϱâ
function Foreign_reiterate_charge_Buff_cancel()
-- ´ÙÀ̾ó·Î±× Ãâ·Â
dlg_title( "@90702501" )
dlg_text( "@90702507" )
-- °ø¼Ó Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010213", "Foreign_reiterate_charge_Buff_cancel_operation(1)" )
-- °ø°Ý·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010214", "Foreign_reiterate_charge_Buff_cancel_operation(2)" )
-- ¹æ¾î·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010215", "Foreign_reiterate_charge_Buff_cancel_operation(3)" )
-- ¸¶·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010216", "Foreign_reiterate_charge_Buff_cancel_operation(4)" )
-- ¸¶¹ý¹æ¾î·Â Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010217", "Foreign_reiterate_charge_Buff_cancel_operation(5)" )
-- À̵¿¼Óµµ Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010218", "Foreign_reiterate_charge_Buff_cancel_operation(6)" )
-- ½ÃÀü¼Óµµ Áõ°¡ lv6 Ãë¼Ò
dlg_menu( "@90010219", "Foreign_reiterate_charge_Buff_cancel_operation(7)" )
--µ¹¾Æ°¡±â
dlg_menu( "@90010003", "NPC_Foreign_Secroute_mage_contact()" )
-- ´ëÈ*Á¾·á
dlg_menu( "@90010002", " " )
dlg_show()
end
-- ÀÏ¹Ý À¯·á ¹öÇÁ °É±â Ãë¼ÒÇϱâ
function Foreign_reiterate_charge_Buff_cancel_operation( magic_set )
if magic_set == 1 then
remove_state( 1011, 6 ) -- °ø¼Ólv6 Ãë¼Ò
elseif magic_set == 2 then
remove_state( 1007, 6 ) -- °ø°Ý·Âlv6 Ãë¼Ò
elseif magic_set == 3 then
remove_state( 1009, 6 ) -- ¹æ¾î·Âlv6 Ãë¼Ò
elseif magic_set == 4 then
remove_state( 1008, 6 ) -- ¸¶·Âlv6 Ãë¼Ò
elseif magic_set == 5 then
remove_state( 1010, 6 ) -- ¸¶¹ý¹æ¾î·Âlv6 Ãë¼Ò
elseif magic_set == 6 then
remove_state( 1013, 6 ) -- À̵¿¼Óµµlv6 Ãë¼Ò
else
remove_state( 1012, 6 ) -- ½ÃÀü¼Óµµlv6 Ãë¼Ò
end
Foreign_reiterate_charge_Buff_cancel()
end
I actually did a lot of clean up work.
|
|
|
03/26/2013, 04:50
|
#1279
|
elite*gold: 0
Join Date: Mar 2013
Posts: 77
Received Thanks: 4
|
well thank you im going to try them out right now
Double thanks to you thndr
|
|
|
03/26/2013, 20:52
|
#1280
|
elite*gold: 0
Join Date: Jan 2011
Posts: 16
Received Thanks: 1
|
I've been reading for about 18 hours now, have used search, advance search, search this thread, and can not find this answer.
I used the 7.4 tutorial, got the v2 sframe, and all of that. Everything loads up fine, the client loads, I can log in.. but when I go to select the server it freezes. I've waited a good 30 minutes just to see if it would do anything, and it just sits there. Any ideas on where to start or what could cause this?
|
|
|
03/26/2013, 21:14
|
#1281
|
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,471
|
Quote:
Originally Posted by happyfrog
I've been reading for about 18 hours now, have used search, advance search, search this thread, and can not find this answer.
I used the 7.4 tutorial, got the v2 sframe, and all of that. Everything loads up fine, the client loads, I can log in.. but when I go to select the server it freezes. I've waited a good 30 minutes just to see if it would do anything, and it just sits there. Any ideas on where to start or what could cause this?
|
Mind posting your gameserver.opt?
|
|
|
03/26/2013, 22:06
|
#1282
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,912
Received Thanks: 1,490
|
Quote:
Originally Posted by happyfrog
I've been reading for about 18 hours now, have used search, advance search, search this thread, and can not find this answer.
I used the 7.4 tutorial, got the v2 sframe, and all of that. Everything loads up fine, the client loads, I can log in.. but when I go to select the server it freezes. I've waited a good 30 minutes just to see if it would do anything, and it just sits there. Any ideas on where to start or what could cause this?
|
Do you see a small rectangular box that sits behind your server selection window so that you can not read what it says?
|
|
|
03/27/2013, 02:17
|
#1283
|
elite*gold: 0
Join Date: Jan 2011
Posts: 16
Received Thanks: 1
|
Quote:
Originally Posted by Xijezu
Mind posting your gameserver.opt?
|
Code:
S app.name:game001
S auth.server_idx:1
S auth.server_name:RAWR
S db.user.work_total:nbr
S db.user.work_pending:nbr
S db.user.work_active:nbr
S db.user.thread_active:nbr
S db.user.thread_total:nbr
S console.port:4515
S console._password:<edit>
S db.game.ip:192.168.1.8
S db.c.name:Arcadia
S db.c.server:192.168.1.8
S db.c.account:sa
S db.c._password:<edit>
S db.user.name:Telecaster
S db.user.server:192.168.1.8
S db.user.account:sa
S db.user._password:<edit>
S io.auth.ip:192.168.1.8
S io.ip_address:192.168.1.8
S io.port:4504
S game.server_screenshot_url:192.168.1.8
S io.upload.port:4617
S io.upload.ip:192.168.1.8
S game.guild_icon_base_url:http://192.168.1.8/icons/
S game.url_list:192.168.1.8|192.168.1.8|guild_icon_upload.port|4615
S game.use_auto_jail:0
S game.pvp_damage_rate_for_summon:.03
S game.pvp_damage_rate_for_player:.03
S game.use_storage_security:0
S game.check_storage_security_always:0
S game.use_delete_security:0
S game.mem_usage_info_save
I've used a few different ones including one for 8.1 just to see what was going on with it, they all produce the same results.
Quote:
Originally Posted by thndr
Do you see a small rectangular box that sits behind your server selection window so that you can not read what it says?
|
As a matter of fact I do see that small rectangular box, and low and behold I can read it. You know what it says? The very last thing is the result from logging in. It has
Code:
Total:[hash+pw]
Result:[md5 hash]
Trust me, I've looked at these things. I've searched. I'm not a retard who just came here and is too lazy/stupid to do research.
|
|
|
03/27/2013, 02:39
|
#1284
|
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,471
|
Quote:
Originally Posted by happyfrog
Code:
S app.name:game001
S auth.server_idx:1
S auth.server_name:RAWR
S db.user.work_total:nbr
S db.user.work_pending:nbr
S db.user.work_active:nbr
S db.user.thread_active:nbr
S db.user.thread_total:nbr
S console.port:4515
S console._password:<edit>
S db.game.ip:192.168.1.8
S db.c.name:Arcadia
S db.c.server:192.168.1.8
S db.c.account:sa
S db.c._password:<edit>
S db.user.name:Telecaster
S db.user.server:192.168.1.8
S db.user.account:sa
S db.user._password:<edit>
S io.auth.ip:192.168.1.8
S io.ip_address:192.168.1.8
S io.port:4504
S game.server_screenshot_url:192.168.1.8
S io.upload.port:4617
S io.upload.ip:192.168.1.8
S game.guild_icon_base_url:http://192.168.1.8/icons/
S game.url_list:192.168.1.8|192.168.1.8|guild_icon_upload.port|4615
S game.use_auto_jail:0
S game.pvp_damage_rate_for_summon:.03
S game.pvp_damage_rate_for_player:.03
S game.use_storage_security:0
S game.check_storage_security_always:0
S game.use_delete_security:0
S game.mem_usage_info_save
I've used a few different ones including one for 8.1 just to see what was going on with it, they all produce the same results.
|
As long as you're running the GS, Auth & the Client on the same computer, change the 192.168.1.8 to 127.0.0.1, this should fix the problem.
I guess the firewall is trolling around again.
|
|
|
03/27/2013, 03:25
|
#1285
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,912
Received Thanks: 1,490
|
Quote:
Originally Posted by happyfrog
As a matter of fact I do see that small rectangular box, and low and behold I can read it. You know what it says? The very last thing is the result from logging in. It has
Code:
Total:[hash+pw]
Result:[md5 hash]
Trust me, I've looked at these things. I've searched. I'm not a ****** who just came here and is too lazy/stupid to do research. 
|
I did not mean the server console...I meant behind the server selection box and server HTML Windows, inside sframe.
It usually says "You have been disconnected from the server" but you can only read it with odd resolution settings that move it out from behind the server list and HTML.
It could be a port or firewall thing and you can try with local host setting 127.0.0.1
But I have also seen this with 7.4 when the sframe does not match. Accidentally using a V1 instead of V2.
Just trying to help.
|
|
|
03/27/2013, 03:33
|
#1286
|
elite*gold: 0
Join Date: Jan 2011
Posts: 16
Received Thanks: 1
|
I just tried that, compressed it and still have the same issue. I just went and turned off the firewall completely just to see if that could be an issue and it's not changing anything either. Still as soon as you go to log into the server it locks up. Nothing in either window except that it logged in with the hash+pw.
Quote:
Originally Posted by Xijezu
Mind posting your gameserver.opt?
|
Quote:
Originally Posted by thndr
I did not mean the server console...I meant behind the server selection box and server HTML Windows, inside sframe.
It usually says "You have been disconnected from the server" but you can only read it with odd resolution settings that move it out from behind the server list and HTML.
It could be a port or firewall thing and you can try with local host setting 127.0.0.1
But I have also seen this with 7.4 when the sframe does not match. Accidentally using a V1 instead of V2.
Just trying to help.
|
hmm perhaps I ended up with a v1 SFrame. I'll download a few that I find and test them out. I appreciate your help too!
[edit]
found a v2 sframe in another one of your posts, that did the trick. Thanks
|
|
|
03/27/2013, 09:06
|
#1287
|
elite*gold: 0
Join Date: Dec 2012
Posts: 102
Received Thanks: 4
|
anyone can help me with this gamelog error.
onDeInit is called with SDS 0x00000000
i did search on google can't find anything to solve it.
|
|
|
03/27/2013, 12:26
|
#1288
|
elite*gold: 0
Join Date: May 2011
Posts: 5,086
Received Thanks: 3,471
|
Quote:
Originally Posted by Mslolita
anyone can help me with this gamelog error.
onDeInit is called with SDS 0x00000000
i did search on google can't find anything to solve it.
|
When does this error appear?
Looks like a non-initialized use of a function, which, obviously, results into a crash.
But I personally haven't seen this error before.
|
|
|
03/28/2013, 21:20
|
#1289
|
elite*gold: 0
Join Date: Jan 2013
Posts: 10
Received Thanks: 0
|
1. your bat file:
Start SFrame.exe /auth_ip:10.0.0.5 /locale:ASCII /country:US /cash /commercial_shop
2. your gameserver login server ip:
127.0.0.1(12688)
Look into the guide and compare EVERYTING with your gameserver.opt and bat-file.
__________________
i dont understand how i can do this pls help me
i did what guide tell me every single think but when i log in if i use my ip adress ( my pc one) i can go to server list but when i press ok there is problem
if i go on server ip i cant even go to server list pls help me D:
|
|
|
03/28/2013, 22:43
|
#1290
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,912
Received Thanks: 1,490
|
Quote:
Originally Posted by Skin3
i did what guide tell me every single think but when i log in if i use my ip adress ( my pc one) i can go to server list but when i press ok there is problem
|
Could you explain what the problem is when you press OK?
What files are you using?
Some more information would be great.
|
|
|
Similar Threads
|
[Helping Topic] 24/7 Helping Services!
08/27/2008 - EO PServer Hosting - 31 Replies
stucked on anything while setuping your server?
post your problem here and you will get answer as fast as possible better than spamming with posts :cool:
first of all try reading Ahmedpotop's Pserver All thing guide.
if your couldn't solve it out post your problem down here
""That includes PHP rankings pages / registrations pages / Status pages""
|
All times are GMT +1. The time now is 16:10.
|
|