-
Posts
263 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by chromus28
-
-
Are you referring to this item perhaps? I'll be moving this to database support. Also,
please enlighten us on what you meant by tamed, 'cause last time I checked, Pushcarts can't be tamed. (jk)
yes but i want it to be on clip? just like on falcon clip by using that clip any job can use falcon
-
Hi guys,
Just wanna ask if its possible to make the warg tamed? what i mean is example for Falcon clip we can use Falcon and on Merchant Clip we can use Pushcart? it is possible to make some Warg Clip? if can what the script for it?
-
will look for an apple. if found, delete
wow thanks!!
Edit:
uhmm where is the trade item script here?
-
does the kafra points and cash points are the same?Not exactly, but you can use either currency to buy items at the Cash Shop (in value, they are the same). You can use the global variable #KAFRAPOINTS for setting, well, Kafra Points.
btw hwere can i find that cash shop?
-
#CASHPOINTS += 1234; // get 1234 point.
use the cashshop.
does the kafra points and cash points are the same?
-
Hi guys?
How can i make an item that can recieve kafra points?? whats the script for it?
and i need also an NPC that need an kafra points to buy items?
please help?
-
Hi guys does anyone have a NPC that can choose quest??
-
Hi guys!! Sorry for asking this npc again but i cannot find my old post before when i asked this npc, Please can anyone give me again this kind of NPC "The NPC will ask for a certain item to trade?" its a simple NPC like he will talk what kind of items he need to trade for his Blah Blah Blah item then after that when you trade your item to his item he will like "Oh thanks you can now be a superman!" please can give me some of this npc again plss??
-
So i just need to run that in Sql then its fine already?
-
the script i gave yes, it is bound, the one that patskie said is not o:
Oh ok
-
guys what is the problem if im having this problem??
[Debug]: Source (NPC): Rebirth System at prontera (185,145)
: DB error - Table 'ragnarok.rebirth_system' doesn't exist
[Debug]: at script.c:15152 - insert into `rebirth_system` values ( 2000001, 'sdfgnsgn', '8', '114.17.201.213' ) on duplicate key update `num_rebirth` = `num_rebirth` +1
[Debug]: Source (NPC): Rebirth System at prontera (185,145)
[sql]: DB error - Table 'ragnarok.rebirth_system' doesn't exist
[Debug]: at script.c:15152 - insert into `rebirth_system` values ( 2000001, 'sdfgnsgn', '9', '114.17.201.213' ) on duplicate key update `num_rebirth` = `num_rebirth` +1
[Debug]: Source (NPC): Rebirth System at prontera (185,145)
here is my script
/* CREATE TABLE IF NOT EXISTS `rebirth_system` ( `account_id` int(11) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL DEFAULT 'NULL', `num_rebirth` int(11) unsigned NOT NULL default '0', `last_ip` varchar(100) NOT NULL default '', PRIMARY KEY (`account_id`) ) ENGINE=MyISAM; */ prontera,185,145,4 script Rebirth System 403,{ function checkItem; // check if player have all item required function colorItemrequired; // color the text. Red : not enough item, green otherwise function deleteItem; // delete all items required function displayItemneed; // display all items need at start function getItemReward; // give the items reward function weightreq; // check if your current weight is highter than weight high novice .@eac = eaclass(); if ( num_rebirth == .reset_max ) { mes "You can only rebirth x"+ .reset_max +"."; emotion e_gasp; close; } else if( NextJobExp || NextBaseExp || !( .@eac&EAJL_2 ) || !Upper ) { mes "You must be rebirth max level/max job level."; close; } mes "Items need :"; displayItemneed(); next; switch( select( "^777777~ Rebirth", "~ Informations", "~ Good bye^000000" ) ) { case 1: weightreq(); checkItem(); deleteItem(); break; case 2: mes "You can only rebirth ^ff0000x"+ .reset_max +"^000000. You already rebirth ^ff0000x"+ num_rebirth +"^000000."; mes "Each rebirth you get ^ff0000"+ .num_status +"^000000 status points and after ^ff0000"+ .change_reward +"^000000 rebirth, you get only some items."; close; case 3: mes "Bye."; close; } num_rebirth += 1; if ( Upper ) { // just in case the user change the setting... lastJob = roclass( .@eac&EAJ_UPPERMASK ); jobchange Job_Novice_High; } else jobchange Job_Novice; resetlvl 1; if ( num_rebirth < .change_reward ) StatusPoint = StatusPoint + .num_status * num_rebirth; else getItemReward(); query_sql "insert into `rebirth_system` values ( "+ getcharid(3) +", '"+ escape_sql( strcharinfo(0) ) +"', '"+ num_rebirth +"', '"+ getcharip() +"' ) on duplicate key update `num_rebirth` = `num_rebirth` +1"; announce "[ Rebirth system ] : "+ strcharinfo(0) +" rebirth for the "+ num_rebirth +" time !", 0; close; function checkItem { for ( ; .@i < .size_item; .@i += 2 ) if ( countitem( .item_req[.@i] ) < .item_req[ .@i+1 ] + num_rebirth ) { mes "You don't have enought "+ getitemname( .item_req[.@i] ) +". ^ff0000["+ countitem( .item_req[.@i] ) +"/"+ ( .item_req[ .@i+1 ] + num_rebirth ) +"]^000000"; close; } if ( num_rebirth >= .change_reward ) if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) { mes "You don't have enought "+ getitemname( .add_item_req[0] ) +". ^ff0000["+ countitem( .add_item_req[0] ) +"/"+ ( .add_item_req[1] + num_rebirth - .change_reward ) +"]^000000"; close; } return; } function colorItemrequired { if ( countitem( .item_req[ getarg(0) ] ) < .item_req[ getarg(0)+1 ] + num_rebirth ) return "^ff0000"; return "^00ff00"; } function deleteItem { for ( ; .@i < .size_item; .@i += 2 ) delitem .item_req[.@i], ( .item_req[ .@i+1 ] + num_rebirth ); if ( num_rebirth >= .change_reward ) delitem .add_item_req[0], ( .add_item_req[1] + num_rebirth - .change_reward ); return; } function displayItemneed { for ( ; .@i < .size_item; .@i += 2 ) mes colorItemrequired( .@i ) +" - x"+ ( .item_req[ .@i+1 ] + num_rebirth ) +" "+ getitemname( .item_req[.@i] ); if ( num_rebirth >= .change_reward ) { if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) .@color$ = "^ff0000"; else .@color$ = "^00ff00"; mes .@color$ +"- x"+ ( .add_item_req[1] + ( num_rebirth - .change_reward ) ) +" "+ getitemname( .add_item_req[0] ); } return; } function getItemReward { for ( ; .@i < .size_reward; .@i += 2 ) getitem .reward[.@i], .reward[ .@i+1 ]; return; } function weightreq { if ( Weight > 20000 ) { mes "You have too much items on you. Your weight will be too high after rebirth."; close; } return; } OnInit: .reset_max = 9; // how much reset max .change_reward = 10; // after 30 rebirth, change reward .num_status = 100; // + X number of status points // item required <item ID>, <number> setarray .item_req, 501, 5, 502, 2, 503, 3; .size_item = getarraysize( .item_req ); // additionnal items after rebirth >> .change_reward // <item ID>, <number> setarray .add_item_req, 601, 1; // rewards <item ID>, <number> setarray .reward, 504, 1; .size_reward = getarraysize( .reward ); end; }
the error is the missing ragnarok.rebirth_system on your sql.try to run this on your sql query.
CREATE TABLE IF NOT EXISTS `rebirth_system` ( `account_id` int(11) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL DEFAULT 'NULL', `num_rebirth` int(11) unsigned NOT NULL default '0', `last_ip` varchar(100) NOT NULL default '', PRIMARY KEY (`account_id`) ) ENGINE=MyISAM;
sorry guide pls? noob here
-
guys what is the problem if im having this problem??
[Debug]: Source (NPC): Rebirth System at prontera (185,145): DB error - Table 'ragnarok.rebirth_system' doesn't exist
[Debug]: at script.c:15152 - insert into `rebirth_system` values ( 2000001, 'sdfgnsgn', '8', '114.17.201.213' ) on duplicate key update `num_rebirth` = `num_rebirth` +1[Debug]: Source (NPC): Rebirth System at prontera (185,145)[sql]: DB error - Table 'ragnarok.rebirth_system' doesn't exist[Debug]: at script.c:15152 - insert into `rebirth_system` values ( 2000001, 'sdfgnsgn', '9', '114.17.201.213' ) on duplicate key update `num_rebirth` = `num_rebirth` +1[Debug]: Source (NPC): Rebirth System at prontera (185,145)here is my script/* CREATE TABLE IF NOT EXISTS `rebirth_system` ( `account_id` int(11) unsigned NOT NULL default '0', `name` varchar(255) NOT NULL DEFAULT 'NULL', `num_rebirth` int(11) unsigned NOT NULL default '0', `last_ip` varchar(100) NOT NULL default '', PRIMARY KEY (`account_id`) ) ENGINE=MyISAM; */ prontera,185,145,4 script Rebirth System 403,{ function checkItem; // check if player have all item required function colorItemrequired; // color the text. Red : not enough item, green otherwise function deleteItem; // delete all items required function displayItemneed; // display all items need at start function getItemReward; // give the items reward function weightreq; // check if your current weight is highter than weight high novice .@eac = eaclass(); if ( num_rebirth == .reset_max ) { mes "You can only rebirth x"+ .reset_max +"."; emotion e_gasp; close; } else if( NextJobExp || NextBaseExp || !( .@eac&EAJL_2 ) || !Upper ) { mes "You must be rebirth max level/max job level."; close; } mes "Items need :"; displayItemneed(); next; switch( select( "^777777~ Rebirth", "~ Informations", "~ Good bye^000000" ) ) { case 1: weightreq(); checkItem(); deleteItem(); break; case 2: mes "You can only rebirth ^ff0000x"+ .reset_max +"^000000. You already rebirth ^ff0000x"+ num_rebirth +"^000000."; mes "Each rebirth you get ^ff0000"+ .num_status +"^000000 status points and after ^ff0000"+ .change_reward +"^000000 rebirth, you get only some items."; close; case 3: mes "Bye."; close; } num_rebirth += 1; if ( Upper ) { // just in case the user change the setting... lastJob = roclass( .@eac&EAJ_UPPERMASK ); jobchange Job_Novice_High; } else jobchange Job_Novice; resetlvl 1; if ( num_rebirth < .change_reward ) StatusPoint = StatusPoint + .num_status * num_rebirth; else getItemReward(); query_sql "insert into `rebirth_system` values ( "+ getcharid(3) +", '"+ escape_sql( strcharinfo(0) ) +"', '"+ num_rebirth +"', '"+ getcharip() +"' ) on duplicate key update `num_rebirth` = `num_rebirth` +1"; announce "[ Rebirth system ] : "+ strcharinfo(0) +" rebirth for the "+ num_rebirth +" time !", 0; close; function checkItem { for ( ; .@i < .size_item; .@i += 2 ) if ( countitem( .item_req[.@i] ) < .item_req[ .@i+1 ] + num_rebirth ) { mes "You don't have enought "+ getitemname( .item_req[.@i] ) +". ^ff0000["+ countitem( .item_req[.@i] ) +"/"+ ( .item_req[ .@i+1 ] + num_rebirth ) +"]^000000"; close; } if ( num_rebirth >= .change_reward ) if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) { mes "You don't have enought "+ getitemname( .add_item_req[0] ) +". ^ff0000["+ countitem( .add_item_req[0] ) +"/"+ ( .add_item_req[1] + num_rebirth - .change_reward ) +"]^000000"; close; } return; } function colorItemrequired { if ( countitem( .item_req[ getarg(0) ] ) < .item_req[ getarg(0)+1 ] + num_rebirth ) return "^ff0000"; return "^00ff00"; } function deleteItem { for ( ; .@i < .size_item; .@i += 2 ) delitem .item_req[.@i], ( .item_req[ .@i+1 ] + num_rebirth ); if ( num_rebirth >= .change_reward ) delitem .add_item_req[0], ( .add_item_req[1] + num_rebirth - .change_reward ); return; } function displayItemneed { for ( ; .@i < .size_item; .@i += 2 ) mes colorItemrequired( .@i ) +" - x"+ ( .item_req[ .@i+1 ] + num_rebirth ) +" "+ getitemname( .item_req[.@i] ); if ( num_rebirth >= .change_reward ) { if ( .add_item_req[1] + num_rebirth - .change_reward > countitem( .add_item_req[0] ) ) .@color$ = "^ff0000"; else .@color$ = "^00ff00"; mes .@color$ +"- x"+ ( .add_item_req[1] + ( num_rebirth - .change_reward ) ) +" "+ getitemname( .add_item_req[0] ); } return; } function getItemReward { for ( ; .@i < .size_reward; .@i += 2 ) getitem .reward[.@i], .reward[ .@i+1 ]; return; } function weightreq { if ( Weight > 20000 ) { mes "You have too much items on you. Your weight will be too high after rebirth."; close; } return; } OnInit: .reset_max = 9; // how much reset max .change_reward = 10; // after 30 rebirth, change reward .num_status = 100; // + X number of status points // item required <item ID>, <number> setarray .item_req, 501, 5, 502, 2, 503, 3; .size_item = getarraysize( .item_req ); // additionnal items after rebirth >> .change_reward // <item ID>, <number> setarray .add_item_req, 601, 1; // rewards <item ID>, <number> setarray .reward, 504, 1; .size_reward = getarraysize( .reward ); end; }
-
cool xD report errors if any ok (:
sir is this a IP bound?? i want an account bound only not ip bound
-
yup np, you can look at my freebie npc (i didn't made it, credfits to the author lol) so you can take it as base
don't copy it because i have custom ids there so, you better just take a look at it (:
novice,52,46,5 script Tairyu WP 123,{ query_sql ("SELECT `last_ip` FROM `login` WHERE `account_id`= '" + getcharid(3) + "'", .@lip$); mes "Hola, bienvenida o bienvenido a Tairyu Ro."; mes "Yo te dare un pack de bienvenida segun el Stat que gustes, selecciona el mas indicado para el Job que seras."; mes "Disfruta del servidor, vota por nosotros cada 12 horas e invita amigos diviertete mucho!"; if(!#Freebie && ( getd("$" + .@lip$ + "_ASD") == 0 )) { mes "Selecciona un Job:"; next; switch(select("VIT:INT:DEX:LUK:STR:AGI:Super Novice:Taekwon:Ninja:Gunslinger")) { case 1: getitem 13945,1; //VIT getitem 20100,1; //Welcome Pack getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 2: getitem 13946,1; //INT getitem 20100,1; //Welcome Pack getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 3: getitem 13948,1; //DEX getitem 20100,1; //Welcome Pack getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 4: getitem 13947,1; //LUK getitem 20100,1; //Welcome Pack getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 5: getitem 13949,1; //STR getitem 20100,1; //Welcome Pack getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 6: getitem 13950,1; //AGI getitem 20100,1; //Welcome Pack getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 7: getitem 27171,1; //SN getitem 27172,1; //SN getitem 27029,1; //SN getitem 20100,1; //Welcome Pack getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 8: getitem 5122,1; //helm getitem 1564,1; //weapon getitem 1602,1; //weapon getitem 2104,1; //shield getitem 2536,1; //manteau getitem 2406,1; //shoes getitem 13949,1; //STR getitem 20100,1; //Item for Taekwon getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 9: getitem 2285,1; //helm getitem 2353,1; //shield getitem 13011,1; //weapon getitem 13302,1; //weapon getitem 2120,1; //shield getitem 2517,1; //manteau getitem 2418,1; //shoes getitem 2627,1; //acces getitem 13946,1; //INT getitem 20100,1; //Item for Ninja getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; case 10: getitem 2353,1; //Armor getitem 2406,1; //Shoes getitem 2536,1; //Manteau getitem 2728,1; //Accessory 1 getitem 2783,1; //Accessory 2 getitem 13948,1; //DEX getitem 20100,1; //Item for Gunslinger getitem 14545,3; //Manual Exp 300% getitem 4142,1; //Doppel card break; } set #Freebie, 1; setd "$" + .@lip$ + "_ASD", getd("$" + .@lip$ + "_ASD") + 1; close; } OnInit: waitingroom "Pack de Bienvenida",0; end; }
it's in spanish lol so don't mindwow thanks hahaha i love u !!!
-
prontera,100,200,4 script PvP Warper 46,{ mes .Npc_Name$; mes "Hello!"; switch(select("Free PvP:Party PvP: 1v1 PvP")) { next; mes .Npc_Name$; case 1: mes "Goodluck!"; warp .Map$[0],0,0; close; break; case 2: if(!strcharinfo(1)) { mes "You must have a party in order to enter!"; close; } mes "Goodluck!"; warp .Map$[1],0,0; close; break; case 3: if(getmapusers(.Map$[2]) > 1) { mes "There are people fighting in this map!"; close; } mes "Goodluck!"; warp .Map$[2],0,0; close; break; } end; OnInit: .Npc_Name$ = "[^0000FF "+strnpcinfo(1)+" ^000000]"; setarray .Map$[0],"your_map1","your_map2","your_map3"; end; }
I will try it later thanks!!!!
-
hi guys?
Can i request a an PVP warper that have 3 different map? and modification?
First Menu: Free PVP Room ( all players can get in in this map free for all )
Second Menu: Party PVP ( They can only pvp here if they have a party )
Third Menu: 1 ON 1 PVP Room ( only 2 Players can get in in this map )
can you please help me with this? thanks
-
meh don't worry, noone was born knowing things, except chuck norris lol well that's a different story
if you get any errors please let us know so we may help you, also please tell us the error i the console if any ;D!
Thanks KidO!
meh don't worry, noone was born knowing things, except chuck norris lol well that's a different story
if you get any errors please let us know so we may help you, also please tell us the error i the console if any ;D!
I will try it now
-
hehehe you have to delete this //
that means inside the script that you are commenting something, so it wont take effect on the whole script doc.
hmm there is another problem, you didn't add ; at the end of getitem
; for what i know, means the end of a stament to execute
so at the end, it would be like this the first case 1
case 1: getitem 7227,1; //lol getitem 607,10; //rmemeber to end with a ; //this is a comment break; //try the other ones by yourself o;!
i almost forgotafter putting this in a line of script //
from that start of // untile the end, it wont take effect on the script doc
you can also use this /* and */
that means that this will start a comment /* and this will the end of the comments */
so you don't have to // a lot of line sin the script
even you can use it in the line to specify a part of the script to dont take effect
here is an example
2006,G_Staff_Of_Light,Staff Of Light,4,20,,1900,80,,1,0,0x00810204,7,2,34,4,60,1,23,{ /* bonus bMatk,150; */ bonus bAtkEle,Ele_Holy; bonus bInt,6; },{},{}
that whole line will work except the bonus bMatk,150; because is inside the /* */ (:Thanks sorry newbie here
-
prontera,150,150,0 script Freebies 100,{ if ( #claimed ) end; mes "Choose your type"; next; switch( select( "Strength:Agility:Vitality:Intelligence:Dexterity:Luck" ) ) { case 1: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 2: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 3: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 4: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 5: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 6: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; default: break; } mes "Good luck!"; set #claimed, 1; close; }
Sir patskie the npc didnt give anything when i click it?
i made it like this
prontera,150,150,0 script Freebies 100,{ if ( #claimed ) end; mes "Choose your type"; next; switch( select( "Strength:Agility:Vitality:Intelligence:Dexterity:Luck" ) ) { case 1: //getitem 7227,1,607,10 //getitem <item id>,<amount> //... break; case 2: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 3: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 4: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 5: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; case 6: //getitem <item id>,<amount> //getitem <item id>,<amount> //... break; default: break; } mes "Good luck!"; set #claimed, 1; close; }
but nothing happen.. no error though...
-
how to change that into max of 10 limit?
-
hi guys can anyone please give me some script of rebrith system that you can do only by 10 times?? and every rebirth with 100 extra poits so if they finish all 10 rebirths they will get an extra 1000 stats points...and before they can rebirth they need to farm something to give it to npc before they can rebirth? does anyone have this?
anyone ?? T_T
bump -
BaseLevel = 255; JobLevel = 120;
Change value to your max level/jobwhat i mean is the script that u gave it to me will be going to have an instant job level script with it too.. coz i found some script freebies npc that they will give u the freebies first then the npc will ask u if what job what u want and you can be instant level once
but you cannot choose freebies
-
Hello,
my agit_main.txt doesn't autospawn Treasure Boxes.
I use Euphys WoE Controller v1.5
I have commented out the agit_controller.txt and no further changes were made.
The woe_controller.txt and agit_main.txt start with @reloadscript and server restart of course.
Can someone help me out please? x_X
treasure boxes? u mean castle chest?? l
-
I'm having major issues with increasing the damage in my RO Private server and I was wondering how it was done. I have tried Lilth's Patcher and it resulted in mapserv-sql.bat to corrupt on me.
I have tampered with the battle.c files and that didn't seem to do anything to the server. Ive chanced ratios from 10 to 1000*skillLv and it still didn't have any effect. I even tried to used Skill_damage_db.txt and added "ASC_BREAKER,1,1,400" and still no results. Can I please get some help? Im absolutely clueless.
Did u try to recompile your server?
N> Easy NPC scripts please
in Script Requests
Posted · Edited by chromus28
here is the script sir
and btw sir this part i have a problem
"Please bring Orc's Keeper Key("+ .@required +") for payment"
it shows like "Please bring Orc's Keeper Key(ID NUMBER) for the payment
itried also the first one who told me without () and its like
Please bring IDNUM for payment
it didnt show the name of the item bu the id number instead