|
You last visited: Today at 13:47
Advertisement
Script
Discussion on Script within the Rappelz Private Server forum part of the Rappelz category.
01/16/2015, 16:39
|
#1
|
elite*gold: 0
Join Date: Jan 2015
Posts: 56
Received Thanks: 1
|
Script
Hi, im newbee on rappelz server administration, can someone help me on sript making? how it doing?
|
|
|
01/16/2015, 16:57
|
#2
|
elite*gold: 0
Join Date: Mar 2013
Posts: 125
Received Thanks: 15
|
|
|
|
01/16/2015, 19:52
|
#3
|
Moderator
elite*gold: 1
Join Date: Dec 2012
Posts: 4,913
Received Thanks: 1,491
|
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.
|
|
|
01/16/2015, 20:20
|
#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?
|
|
|
01/16/2015, 20:32
|
#5
|
elite*gold: 0
Join Date: Feb 2013
Posts: 119
Received Thanks: 13
|
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
|
|
|
Similar Threads
|
[Biete] Scripteen Ajax Photo Rating Script V2 License (Hot or Not Script) [S] Paypal
01/31/2013 - Trading - 0 Replies
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 Rating Script | Scripteen PHP Scripts
Macht mir Angebote suche Paypal.
Screenshots:
http://scripteen.com/uploads/156-Screen%20Shot%20 2012-05-19%20at%2010.32.56%20AM.png
http://scripteen.com/uploads/381-Screen%20Shot%20 2012-05-19%20at%2010.33.07%20AM.png
|
All times are GMT +1. The time now is 13:47.
|
|