-
Posts
63 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Jobs Available
Server Database
Third-Party Services
Top Guides
Store
Crowdfunding
Posts posted by Aeia
-
-
What if the player talks again to the NPC, s/he will again get a reward?
Wouldn't be any abuse on it?
-
Hello everyone,
I would like to ask for a request on how will I add a timer for the credits exchange.
If the user will exchange their zeny to credits, there'll be a delay before the user can exchange his zeny to credits again.
But if the user will exchange their credits to zeny, there'll be no delay on exchange.
The delay on exchange will be applied on the whole account.
The duration of the exchange delay is for 12hours. ( So the user can only exchange a maximum of 200Credits(2billion) every 12hours )
If ever the user exchange only 300m, he/she will still need to wait for 12hours before he/she can exchange again.
Here's the script ( From DaemonSpade )
prontera,158,192,3 script Credit Exchanger 504,{ //====================================[Customization Area]==========================// set .npcname$,"^0000EE[Credit Exchanger]^000000"; //NPC Name set .coinname$,"^0000EECredit^000000"; //Name of Item as Coin Used set .CoinID,30005; // Credit ID Set to Red Potion set .zeny,10000000; // Credit Price Set by 10,000,000 or 10m set .capzeny,2000000000; //Zeny Capacity Set by 2,000,000,000 or 2b //==============================================================================// // Check Line 89 To Edit The Chat/Pub Name Like This: // waitingroom "Credit Exchanger",0; //==============================================================================// PlayerMode: mes .npcname$; mes "Hello there "+strcharinfo(0); mes "Rule's Of Exchange"; mes "1 ^0000EE"+.coinname$+"^000000 is [^0000EE"+.zeny+"z^000000]"; mes "Zeny Exchange Capacity is [^0000EE"+.capzeny+"z^000000]"; switch(select("(Credits) to (Zeny):(Zeny) to (Credits)")) { Case 1: next; mes .npcname$; mes "How many Credits to exchange?"; mes "Put The Credit Amount"; mes "Put ^0000EE[0]^000000 to Cancel"; mes "1 ^0000EE"+.coinname$+"^000000 is [^0000EE"+.zeny+"z^000000]"; mes "Zeny Exchange Capacity is [^0000EE"+.capzeny+"z^000000]"; next; do{ input @Credit,0,countitem(.CoinID); if( @Credit < 1 ) close; }while( ( ( @Credit * .zeny ) + Zeny ) > .capzeny ); next; mes .npcname$; mes "Thanks"; delitem .CoinID,@Credit; set Zeny, Zeny + ( @Credit * .zeny ); dispbottom "Zeny Exchange Finished"; close; Case 2: next; mes .npcname$; mes "How much Credit you like to Gain?"; mes "Put The Credit Amount"; mes "Put ^0000EE[0]^000000 to Cancel"; mes "1 ^0000EE"+.coinname$+"^000000 is [^0000EE"+.zeny+"z^000000]"; mes "Zeny Exchange Capacity is [^0000EE"+.capzeny+"z^000000]"; next; input @Credit,0,( Zeny / .zeny ); if( @Credit < 1 ) close; next; mes .npcname$; mes "Thanks."; set Zeny, Zeny - ( @Credit * .zeny); getitem .CoinID,@Credit; dispbottom "Credit Exchange Finished"; close; end; } close; }
Thank you in advance!
-
My current host is TrinityNetworks and my current service is the DRO one which is located at Las Vegas Nevada.
Me and my players are currently having disconnection problems every now and then. And also I haven't receive any of their replies lately.
So I think I might go with the other host which is located at Los Angeles California.
Oh and also, what hosting company would you suggest?
Anyway, Thank you for your opinions!
-
In what place do you prefer your hosting to be located?
Los Angeles California or Las Vegas Nevada?
By the way, I don't know if this is the correct thread to ask.
Thank you in advance!
-
Sorry for being noob but how will I do that?
-
I am having trouble with a Closed Connection issue here..
I have change the char_athena/map_athena's login_ip, char_ip, and map_ip's values to the VPS's IP Address but this error still occurs..
Screenshot:
As you can see above, all three servers are green and running but this error keeps popping out..
Please someone help me on this..
Thank you in advance!
-
Bump
-
Bump
-
I tried copying Endure's re-use skill delay(Duration2) on skill_cast_db.txt, but there's no cooldown occuring on Suffragium..
Any help?
// SkillID,CastingTime,AfterCastActDelay,AfterCastWalkDelay,Duration1,Duration2
//-- SM_ENDURE
8,0,0,0,10000:13000:16000:19000:22000:25000:28000:31000:34000:37000,10000
//-- PR_SUFFRAGIUM
67,0,2000,0,15000,30000 -
How will I change it to duration-buff type of skill instead of 1 usage?
And also, if a player is on Suffragium buff and casted Holy Light, it will be casted twice..Thank you in advance!
-
It has been fixed already, thank you for helping out!
-
I mean, hunting and collecting at the same time.
-
I haven't tried the script yet but are there any errors regarding this script or any suggestions to improve this?
prontera,156,127 script Quest 456,{ mes "[ Quest ]"; mes "What do you want to do?"; menu "Start Killing",-,"Check Kill Status",CheckKill,"Close",End; next; mes "[ Quest ]"; mes "Start Killing 100 porings now!"; close; CheckKill: next; if (killedmonsters >= 100) { mes "Wow you killed 100 porings, wanna finish this quest now?"; mes "Awesome here's a prize!"; set zeny,zeny+9001; set killing_quest,1; close; } next; mes "[ Quest ]"; mes "Your current porings kills are "+killedmonsters+""; close; End: close; OnNPCKillEvent: if (KilledRid == 1002) { set killedmonsters,killedmonsters+1; dispbottom "Porings Killed +"killedmonsters"+ "; } end; }
-
Try this its works. put this code before "OnDoingGood:"Please help us! Bump. If only I'm a super-pro scripter....but I guess, as of now I needed help.
OnPCLogoutEvent:
getmapxy(.@map$,.@x,.@y,0);
if(.@map$=="quiz_02")
{
stopnpctimer;
donpcevent "::OnHideTogepi";
set .gameon, 0;
detachnpctimer;
end;
}
Oh thanks, I'll try later and update if it works.
-
It seems a nice event, must-try!
Thank you!
-
I kind of need this as well, as in the whole Training Ground script, if there is.I figured it out myself, thank you anyway.
-
How will I do that?
-
Hello guys,
I tried searching for the Desperado Skill to take effect even when there's a Land Protector and ended up here http://rathena.org/board/topic/71283-desperado-on-land-protector/
But it doesn't work.
I also tried updating my svn up to the inf2_NOLP part but still it doesn't work.
Any help?
Btw, I'm also using eAthena.
Thank you in advance! -
// MySQL Log SQL Database log_db_ip: 127.0.0.1 log_db_port: 3306 log_db_id: ragnarok log_db_pw: ragnarok log_db_db: ragnarok log_codepage: log_login_db: loginlog
make sure their are pointed to the correct Scheme Table in your SQL.
Where can I find this?
EDIT:
Yes they are pointed.. Other logs like loginlog, atcommandlog are working well.. My only problem is the picklog
-
Hello guys,
I would like to ask for help about database problem in mysql..
Here are some screenshots of it..
As you can see, already have uploaded the logs.sql, and have the .log file in my log/trunk folder..
But there're no entries in the 2 picklogs..
Any help?
-
As far as I know, critical damage only applies 1.4x of your normal attack..
How and where can I change its damage calculation?
Thank you in advance!
-
What If I want to make a flag with emblem but they don't own any castle?
-
But it says
// This will change the emblem on the flag to that of the guild that owns // "guildcastle" flagemblem GetCastleData("guildcastle",1);
But it how will I be able to change it to guild name/ID?
EDIT: Should I use this?
Syntax
- flagemblem <guild id>;
-
What should I edit here to have a customize flag with the guild's current emblem..
And also, about the CastleData, can I just change it to GuildData?
Thank You in Advance!lhz_in03,112,25,4,2 script Unknown HQ 722,{ set .@GID, GetCastleData("aldeg_cas03",1); { mes "[ Unknown HQ ]"; mes "Welcome to the Headquarters of the Unknown Guild!"; mes " "; mes "The current Guild Leader of Unknown Guild is ^FF0000" + GetGuildMaster(.@GID) + "^000000."; mes " "; } close; OnRecvCastleA03: FlagEmblem GetCastleData("aldeg_cas03",1); end; }
R>GM Reward NPC
in Script Requests
Posted
Thank you for confirming, or I shall hijack this thread to ask if 'what if' the player will get a reward from the NPC so GM can just leave the prize to the NPC for the player to get but won't again get the prize once the player has already received it? I'm new with scripting..