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
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...
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?
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?
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?
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.
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.
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.
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
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.
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:
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?
[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""