Register for your free account! | Forgot your password?

You last visited: Today at 11:00

  • Please register to post and access all features, it's quick, easy and FREE!

 

Script

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2015
Posts: 56
Received Thanks: 1
Post Script

Hi, im newbee on rappelz server administration, can someone help me on sript making? how it doing?



Gordor1 is offline  
Old   #2
 
elite*gold: 0
Join Date: Mar 2013
Posts: 75
Received Thanks: 5


hassuny is offline  
Thanks
1 User
Old   #3
Moderator
 
elite*gold: 1
Join Date: Dec 2012
Posts: 3,045
Received Thanks: 979
You would need to be a little more specific. Are you talking about lua scripting, sql scripts, or are you writing a program or tool and are looking for information on program language scripting.

None of these are really Rappelz specific and I am sure someone could at least give you a kick in the right direction if they know what your goal is.
ThunderNikk is offline  
Thanks
1 User
Old   #4
 
elite*gold: 0
Join Date: Jan 2015
Posts: 56
Received Thanks: 1
I have lua lvl up item script, but it doesnt work

can you help me?

unction get_module_name()
return "on_player_level_up"
end

function on_player_level_up()

local lv = get_value( "level" )
local current_x = gv("x")
local current_y = gv("y")
local race = get_value( "race" )
save()

local max_reached_level = gv( "max_reached_level" )
local i
for i = max_reached_level + 1 , lv do
if i == 3 then
insert_item( 3600289, 1 )
insert_item(105101, 1, 10, 10, -2147483648 )
insert_item(540045, 1, 1, 1, -2147483648 )
add_state(1001, 100, 1800000)
add_state(1002, 100, 1800000)
add_state(1003, 100, 1800000)
add_state(1004, 100, 1800000)
add_state(1005, 100, 1800000)
add_state(1006, 100, 1800000)
add_state(1007, 100, 1800000)
add_state(1008, 100, 1800000)
add_state(1009, 100, 1800000)
add_state(1010, 100, 1800000)
add_state(1011, 100, 1800000)
add_state(1012, 100, 1800000)
add_state(1013, 100, 1800000)
add_state(1014, 100, 1800000)
add_state(1015, 100, 1800000)
add_state(1016, 100, 1800000)
add_state(1017, 100, 1800000)
add_state(1018, 100, 1800000)
add_state(1019, 100, 1800000)
add_state(1051, 100, 1800000)
add_state(1052, 100, 1800000)
add_state(1053, 100, 1800000)
add_state(1054, 100, 1800000)
add_state(1055, 100, 1800000)
add_state(1056, 100, 1800000)
add_state(1057, 100, 1800000)

elseif i == 5 then
RunTeleport( 0 ,153481, 77239 )

elseif i == 20 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101201, 1, 20, 20, -2147483648 )
insert_item(101201, 1, 20, 20, -2147483648 )
insert_item(105201, 1, 20, 20, -2147483648 )
insert_item(107201, 1, 20, 20, -2147483648 )
insert_item(108201, 1, 20, 20, -2147483648 )
insert_item(109201, 1, 20, 20, -2147483648 )
insert_item(111201, 1, 20, 20, -2147483648 )

elseif i == 50 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101301, 1, 20, 20, -2147483648 )
insert_item(101301, 1, 20, 20, -2147483648 )
insert_item(105301, 1, 20, 20, -2147483648 )
insert_item(107301, 1, 20, 20, -2147483648 )
insert_item(108301, 1, 20, 20, -2147483648 )
insert_item(109301, 1, 20, 20, -2147483648 )
insert_item(111301, 1, 20, 20, -2147483648 )

elseif i == 80 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101401, 1, 20, 20, -2147483648 )
insert_item(101401, 1, 20, 20, -2147483648 )
insert_item(105401, 1, 20, 20, -2147483648 )
insert_item(107401, 1, 20, 20, -2147483648 )
insert_item(108401, 1, 20, 20, -2147483648 )
insert_item(109401, 1, 20, 20, -2147483648 )
insert_item(111401, 1, 20, 20, -2147483648 )

elseif i == 100 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101501, 1, 20, 20, -2147483648 )
insert_item(101501, 1, 20, 20, -2147483648 )
insert_item(105501, 1, 20, 20, -2147483648 )
insert_item(107501, 1, 20, 20, -2147483648 )
insert_item(108501, 1, 20, 20, -2147483648 )
insert_item(109501, 1, 20, 20, -2147483648 )
insert_item(111501, 1, 20, 20, -2147483648 )

elseif i == 151 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101601, 1, 20, 20, -2147483648 )
insert_item(101601, 1, 20, 20, -2147483648 )
insert_item(105601, 1, 20, 20, -2147483648 )
insert_item(107601, 1, 20, 20, -2147483648 )
insert_item(108601, 1, 20, 20, -2147483648 )
insert_item(109601, 1, 20, 20, -2147483648 )
insert_item(111601, 1, 20, 20, -2147483648 )
end

end
end

script working without .sql file?


Gordor1 is offline  
Old   #5
 
elite*gold: 0
Join Date: Feb 2013
Posts: 118
Received Thanks: 12
try this :

function get_module_name()
return "on_player_level_up"
end

function on_player_level_up()

local lv = get_value( "level" )
local current_x = gv("x")
local current_y = gv("y")
local race = get_value( "race" )
save()


if lv == 3 then
insert_item( 3600289, 1 )
insert_item(105101, 1, 10, 10, -2147483648 )
insert_item(540045, 1, 1, 1, -2147483648 )
add_state(1001, 100, 1800000)
add_state(1002, 100, 1800000)
add_state(1003, 100, 1800000)
add_state(1004, 100, 1800000)
add_state(1005, 100, 1800000)
add_state(1006, 100, 1800000)
add_state(1007, 100, 1800000)
add_state(1008, 100, 1800000)
add_state(1009, 100, 1800000)
add_state(1010, 100, 1800000)
add_state(1011, 100, 1800000)
add_state(1012, 100, 1800000)
add_state(1013, 100, 1800000)
add_state(1014, 100, 1800000)
add_state(1015, 100, 1800000)
add_state(1016, 100, 1800000)
add_state(1017, 100, 1800000)
add_state(1018, 100, 1800000)
add_state(1019, 100, 1800000)
add_state(1051, 100, 1800000)
add_state(1052, 100, 1800000)
add_state(1053, 100, 1800000)
add_state(1054, 100, 1800000)
add_state(1055, 100, 1800000)
add_state(1056, 100, 1800000)
add_state(1057, 100, 1800000)

elseif lv == 5 then
RunTeleport( 0 ,153481, 77239 )

elseif lv == 20 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101201, 1, 20, 20, -2147483648 )
insert_item(101201, 1, 20, 20, -2147483648 )
insert_item(105201, 1, 20, 20, -2147483648 )
insert_item(107201, 1, 20, 20, -2147483648 )
insert_item(108201, 1, 20, 20, -2147483648 )
insert_item(109201, 1, 20, 20, -2147483648 )
insert_item(111201, 1, 20, 20, -2147483648 )

elseif lv == 50 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101301, 1, 20, 20, -2147483648 )
insert_item(101301, 1, 20, 20, -2147483648 )
insert_item(105301, 1, 20, 20, -2147483648 )
insert_item(107301, 1, 20, 20, -2147483648 )
insert_item(108301, 1, 20, 20, -2147483648 )
insert_item(109301, 1, 20, 20, -2147483648 )
insert_item(111301, 1, 20, 20, -2147483648 )

elseif lv == 80 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101401, 1, 20, 20, -2147483648 )
insert_item(101401, 1, 20, 20, -2147483648 )
insert_item(105401, 1, 20, 20, -2147483648 )
insert_item(107401, 1, 20, 20, -2147483648 )
insert_item(108401, 1, 20, 20, -2147483648 )
insert_item(109401, 1, 20, 20, -2147483648 )
insert_item(111401, 1, 20, 20, -2147483648 )

elseif lv == 100 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101501, 1, 20, 20, -2147483648 )
insert_item(101501, 1, 20, 20, -2147483648 )
insert_item(105501, 1, 20, 20, -2147483648 )
insert_item(107501, 1, 20, 20, -2147483648 )
insert_item(108501, 1, 20, 20, -2147483648 )
insert_item(109501, 1, 20, 20, -2147483648 )
insert_item(111501, 1, 20, 20, -2147483648 )

elseif lv == 151 then
insert_item(2010398, 100, 1, 1, -2147483648 )
insert_item(2010399, 100, 1, 1, -2147483648 )
insert_item(101601, 1, 20, 20, -2147483648 )
insert_item(101601, 1, 20, 20, -2147483648 )
insert_item(105601, 1, 20, 20, -2147483648 )
insert_item(107601, 1, 20, 20, -2147483648 )
insert_item(108601, 1, 20, 20, -2147483648 )
insert_item(109601, 1, 20, 20, -2147483648 )
insert_item(111601, 1, 20, 20, -2147483648 )
end

end


mohamad512 is offline  
Thanks
1 User
Reply



« Previous Thread | Next Thread »

Similar Threads
[Biete] Scripteen Ajax Photo Rating Script V2 License (Hot or Not Script) [S] Paypal
Hey, und zwar brauche ich das Script nicht mehr und stelle meine License deshalb hier zum Verkauf. Link zum Script: Hot or Not Script | Photo...
0 Replies - Trading



All times are GMT +2. The time now is 11:00.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.