Deleted User
-
Posts
235 -
Joined
-
Days Won
6
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Deleted User
-
-
25 minutes ago, Questune09 said:
thank you how about making a random item??? if players reach the max lvl and max job lvl he will get a random item
Just check OnInit: to modify your likes.
- 1
-
43 minutes ago, Questune09 said:
good day i would like to ask why this script not working???
is there something wrong with this script? should i missed some details??
also please help me how to make this a random item thank you
- script max_lv 99,{ // Configuration OnInit: .max_base = 175; .max_job = 60; .item_id = 19546; .amount = 1; end; // Script OnPCBaseLvUpEvent: OnPCJobLvUpEvent: // Determine if Base Level and Job Level are max if (BaseLevel == .max_base && JobLevel == .max_job) { // Receive reward getitem .19546, .1; // Display confirmation message message strcharinfo(0), "Congratulations! You have received "+ .amount +" "+ getitemname(.item_id) +" for reaching the max level!"; } end; }
Typo:
getitem .19546, .1;
To
getitem .item_id, .amount;
- 1
-
1 hour ago, Hossam said:
- script hourly_reward_main -1,{ OnInit: setarray .itemid,6379,522,12412,604,12221,16774,12103,12710,14296,14601,7929,12202,12203,12204,12205,12206,12207,7959; setarray .amount,10,100,1,10,1,2,2,3,2,5,2,2,2,2,2,2,2,2; .itemid_size = getarraysize( .itemid ); end; OnMinute00: query_sql( "SELECT `account_id`,`name` FROM `char` WHERE `online` = 1 ORDER BY RAND() LIMIT 1",.@aid,.@name$ ); if ( .@aid ) { .@i = rand( .itemid_size ); getitem .itemid[.@i],.amount[.@i],.@aid; announce "Krizazone Server - Lucky Player ["+.@name$+"] has receive ["+.amount[.@i]+"x "+getitemname( .itemid[.@i] )+"]!!",bc_all; } end; }
i need help here
this script send to all player online and all marchents autotrade
i want make it to send to all player online not marchents autotrade
any help ?Hi please try this I'm not on my PC.
- script hourly_reward_main -1,{ OnInit: setarray .itemid,6379,522,12412,604,12221,16774,12103,12710,14296,14601,7929,12202,12203,12204,12205,12206,12207,7959; setarray .amount,10,100,1,10,1,2,2,3,2,5,2,2,2,2,2,2,2,2; .itemid_size = getarraysize( .itemid ); end; OnMinute00: .@size = query_sql( "SELECT `account_id`,`name` FROM `char` WHERE `online` = 1 ORDER BY RAND() LIMIT 1",.@aid,.@name$ ); for( .@i = 0; .@i < .@size; .@i++ ) { if( checkvending( .@name$[.@i] ) || checkchatting( .@name$[.@i] ) ) end; else if( .@aid ) .@i = rand( .itemid_size ); getitem .itemid[.@i],.amount[.@i],.@aid; announce "Krizazone Server - Lucky Player ["+.@name$+"] has received "+.amount[.@i]+" x "+getitemname( .itemid[.@i] )+".",0; } end; }
Let me know if it's working.
-
1 hour ago, Noctis said:
Btw do you know the script that he say the guild name that Im in? like
"mes "Hi! Your a Guild Member of the #guildname#."; (the guild name with color) @Kaze
prontera.gat, 155, 182, 4 script Guild Information 4_F_KAFRA1,{ .@n$ = "[ Guild Information ]"; .@id = getcharid(2); if( .@id == 0 ) { mes .@n$; mes "Sorry, you are not in a guild."; close; } if( strcharinfo(0) != getguildmaster(.@id) ) { mes .@n$; mes "Sorry, you don't own the guild you are in."; close; } mes .@n$; mes "Your the Guild Member of: ^00AA00"+ getguildname(.@id) +"^000000"; close; }
- 1
-
36 minutes ago, Noctis said:
Whats the script that if its a guild member he say
mes "I see that ur a guild member";
goto L_function
if not
mes "you dont have a guild";
close;
if( !getcharid(2) ) { mes "I'm sorry, but you are not in a Guild."; close; } mes "Hi! Your a Guild Member."; mes "How may i help you?"; next; do your function..........
- 1
-
24 minutes ago, Aaeria said:
I'm new to scripting and trying to make a basic petinfo command. But I get error, can someone help me to right way? This what I put so far:
- script atcmds -1,{ OnInit: bindatcmd "petinfo",strnpcinfo(3)+"::OnAtcommand1"; end; OnAtcommand1: if( getpetinfo(PETINFO_ID()) == null ) { dispbottom "Sorry, you do not own a pet yet."; break; } else { dispbottom "[Pet] "+getpetinfo(petinfo_id())+""; end; } }
Try this.
- script atcmds -1,{ OnInit: bindatcmd "petinfo",strnpcinfo(3)+"::OnAtcommand"; end; OnAtcommand: if( getpetinfo(PETINFO_NAME) == "null") { dispbottom "Sorry, you do not own a pet yet."; end; } else { dispbottom "=========== Information ==========="; dispbottom "ID: "+getpetinfo(PETINFO_ID)+""; dispbottom "Block ID: "+getpetinfo(PETINFO_BLOCKID)+""; dispbottom "Level: "+getpetinfo(PETINFO_LEVEL)+""; dispbottom "Class: "+getpetinfo(PETINFO_CLASS)+""; dispbottom "Name: "+getpetinfo(PETINFO_NAME)+""; dispbottom "Hungry: "+getpetinfo(PETINFO_HUNGRY)+""; dispbottom "Renamed: "+getpetinfo(PETINFO_RENAMED)+""; end; } }
- 1
-
Hi, I was wondering since I was curious on this tool. does it actually work? I mean, I heard this tool across from the board.
do you know who is the author of the software? if by chance, can I ask this tool if you have? please PM ME. -
20 hours ago, Noctis said:
I liked it, good job
Thank you =)
19 hours ago, Nyanko said:I liked the maps and the details you used. Good job ;D
Oh yeah, even if the map is simple itself I'm trying to put detail as much as possible so that it won't look empty.
19 hours ago, Najara said:Nice, Kaze! Well done, I like how you applied different levels of height and am def looking forward to see more from you.
Yeah, been doing maps a long time ago since eA I'm just lazy to make because it takes a lot of time and patience. and now your my inspiration <3
-
-
On 12/17/2015 at 7:16 AM, Anacondaqq said:
I was found a lot of different bugs, and warnings inside this system.
Some of bugs reported below i was manually fix.
- Imposible to compile because of missing #include defines under linux, at windows this mod you can compile without errors or problems
- I was review code, and i found for a lot of missing scopes, or wrong typo, (check examples below)
- I was found a lot of not used variable / structures (or there is a logic typo)
- Btw, i was make it work a little bit, but when you @ipblock or @ipban character -> he did't kicked from the game, you need manually kick him / her from the game to apply ban (after kick, he can't connect)
- A lot of problems with sql tables from the start.
Suggestions
- Please Fix bugs with this system (there are a lot of them, and check & review your code, (because for now this application is very dangerous for production))
- Please add separate diff for code, and separate sql tables which we need to add to the game (with diff for ready tables, and with how tables must looks like (to make easy it to isntall)
- Test it on linux, you will find a lot of strange things with this system.
THank you!
If you don't mind? would you share the working copy you have? I mean the one you mentioned above?
-
They have a huge difference both PRE and RENEWALS(new formulas).
-
41 minutes ago, melv0 said:
bump
Try this simple
You can easily configure the items at OnInit:Item DB:
// SQL Version: REPLACE INTO `item_db2` VALUES (46996,'RANDOM_BOX','Random Box',18,NULL,NULL,200,NULL,NULL,NULL,NULL,0xFFFFFFFF,7,2,NULL,NULL,NULL,NULL,NULL,'doevent \"F_Random_Box::OnBoxClick\";',NULL,NULL); // TXT Version: 46996,RANDOM_BOX,Random Box,2,10000,,200,,,,,0xFFFFFFFF,7,2,,,,,,{ doevent \"F_Random_Box::OnBoxClick\"; },{},{}
Script:
- 1
-
-
25 minutes ago, Aaeria said:
Still got the same error, weird ;|
edit: Emistry is the creator of this script
can you post the error pls?
Try this:
dispbottom "[EXP Reset System]: You have accumulated "+ F_InstertComma( #EXP_RESET_BASE ) +" / "+ F_InsertComma( #EXP_RESET_JOB) +" EXP: "+ epoch_time( .@gettimetick );
-
20 minutes ago, Aaeria said:
I don't know what is epoch_time probably its Time2Str
dispbottom "[EXP Reset System]: You have accumulated "+ F_InstertComma( #EXP_RESET_BASE ) +" / "+ F_InsertComma( #EXP_RESET_JOB) +" EXP. ("+ epoch_time( .@gettimetick) +")";
Try this one.
-
You can only do this by source code =) but u can write this via script but its hassle.
Senario:
Quote0 keil 0 er - no effect
0 keil 1 er - 1 expert ring effect
0 keil 2 er - 2 expert ring effect
1 keil 0 er - kiel card effect
1 keil 1 er - 1 kiel card and expert ring effect
1 keil 2 er - 1 kiel and 2 expert ring effect
2 keil 0 er - 1 kiel card effect only
2 keil 1 er - effect is 1 kiel and 1 ER only
2 keil 2 er - work both 2 kiel and 2 ER
Example:
xxxx,....,{ if ( isequippedcnt(4403) >= 2 && isequippedcnt(2703) < 2 ) bonus bDelayRate, -30 / isequippedcnt(4403); else bonus bDelayRate, -30; },{},{}
You can search this at the forum.
References:
-
On 6/21/2017 at 4:41 AM, almer said:
is this working on 17704 SVN?>>
For godsake, please stop using SVN. and i would say "NO" it does not work on "SVN"
-
16 minutes ago, Ninja said:
can you give the link to the src? thanks
-
-
U can remove the agitcheck3() since your emulator is outdated.
the commits can be found here: https://github.com/rathena/rathena/pull/1582/commits
You can simply have this.
Quoteif (agitcheck() || agitcheck2() ) {
-
Bravo! look at those lightmaps! looks cool! keep it up. looking forward to this project. may I ask? is this project can be open-source? this gonna be like exclusive Client? Has something to be paid?
-
On 6/17/2017 at 0:33 AM, celeron0134 said:
prontera,155,155,5 shop tooldealer 811
setarray .@items 501,502,503,504
setarray .@amount 10,20,30,40
.@maps prontera,izlude,morocc,aldebaran,alberta,payon,geffen
Onbuyitem: Announce: "getcharname" has bought "getitemname" from the tool dealer on Prontera "get coordinates"
@jumpnpc "tooldealer" rand(.@maps) random coordinates
A Shop NPC that when a player buys an item after the transaction the NPC will jump on a random map with random coordinates
Hi, please try this.
prontera.gat, 155, 185, 4 script Jumping Jack 757,{ setarray .@map_List$[0], "hugel", "yuno", "comodo", "xmas", "aldebaran", "izlude", "payon", "geffen", "morocc", "prontera"; mes "[ Jumping Jack ]"; mes "Hello"; close2; .@map$ = .@map_List$[ rand( getarraysize( .@map_List$ )) ]; do { .@x = rand(1,400); .@y = rand(1,400); } while( !checkcell(.@map$, .@x, .@y, cell_chkpass ) ); unitwarp getnpcid(0), .@map$, .@x, .@y; end; }
- 1
-
Might this will help you as a script based.
Credits: AnnieRURU
prontera,156,188,5 script kjdfhkshfs 100,{ getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; .@origin = getcharid(3); for ( .@i = 0; .@i < $@partymembercount; .@i++ ) { if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) { attachrid $@partymemberaid[.@i]; .@online++; .@compare_job$ = .@compare_job$ +"#"+ class +"#"; } } attachrid .@origin; // dispbottom .@online + .@compare_job$; if ( .@online < 5 ) mes "your party needs at least 5 party member online"; else if ( !compare( .@compare_job$, "#"+ Job_Paladin +"#" ) ) mes "your party needs a Paladin in your party"; else if ( !compare( .@compare_job$, "#"+ Job_High_Priest +"#" ) ) mes "your party needs a High Priest in your party"; else if ( countstr( .@compare_job$, "#"+ Job_High_Wizard +"#" ) + countstr( .@compare_job$, "#"+ Job_Assassin_Cross +"#" ) + countstr( .@compare_job$, "#"+ Job_Ninja +"#" ) + countstr( .@compare_job$, "#"+ Job_Sniper +"#" ) + countstr( .@compare_job$, "#"+ Job_Lord_Knight +"#" ) < 3 ) mes "your party needs to have at least 3 Damage Dealer classes in your party"; else mes "you are free the go"; close; }
-
33 minutes ago, isaque1 said:
It's giving error Missing Right curlys in file
Weird, if the map console says missing curly just add }
OnTouch NPC unittalk
in Scripting Support
Posted