Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. I'm not sure if the 'setcell' will be persistent, for example when the server restart/shutdown.
  2. Nice job! But it seems that the development had slowed down because the devs are busy irl
  3. You set your own post as the best answer, funny lol
  4. It's very easy to do so, read the script_command.txt on your Doc folder on how to create an NPC
  5. When I saw the image, I feel like I was somewhere on Wild West I have my opionions about this one: - The background will be nicer if the wood background is darker. - The first 3 boxes spacing are uneven. - The lower boxes will be nicer if it lines up. These are just minor suggestions, I'm somewhat perfectionist, you can blame me for that.. Overall, I like the theme
  6. @Phantom Of Rogue-Gon: You make lots of requests lately, so now you should try to learn how to write one by reading the docs and examples
  7. It's already edited, so you can only play every 1 hour + 10 win streak to get the grand prize
  8. // = Script made by RIKIMARU on rathena.org // = Profile Link : // = http://rathena.org/board/user/434-rikimaru/ // = ENJOY THIS SCRIPT! //=================================================================================== // //=====// /==/ /==/ /==/ // // // /==/ /==/ /=/ /==/ // //=====// /==/ /=/ /==============/ /========/ /==//===/ /==/ /==/ // //=////// /==/ /==//=/ /==/ /==/==/==/==/==/ / / / /==/ /==/ /==/ // // == /==/ /==//=/ /==/ /==/ /==/ /==/ ======/ / /==/ /==/ /==/ // // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/ /==/ // // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/=====/==/ // // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ /========/ /==/ /==///////==/ // ================ rAthena Script ================================================== // ============== Information ======================================================= // = Rock,Paper,Scissors Game // = Made by : // = Rikimaru //===== Current Version: =============================================== //= 1.0 //===== Compatible With: =============================================== //= any rAthena SVN //===== Description: =================================================== //= Rock,Paper,Scissors game with a chance of 10 Prizes //===== Additional Comments: =========================================== //= 1.0 Finished Scripting the NPC [Rikimaru] //====================================================================== //= DO NOT REMOVE MY CREDITS AND CLAIM MY WORK AS YOURS //====================================================================== prontera,192,154,3 script Rock,Paper,Scissors 100,{ // ================ Settings ================================== set .@n$,"^0000FF[ Rock,Paper,Scissors ]^000000"; set .cost,1000; set .@player1$,"Rock"; set .@player2$,"Paper"; set .@player3$,"Scissors"; // ============== End of Settings ============================= OnMenu: mes .@n$; set .@delay, gettimetick(2)-rpsgame; if (.@delay < 3600) { mes "You have to wait for "+ callfunc("Time2Str",.@delay); close; } mes "Hello,do you want to play"; mes "some Rounds of Rock,Paper,"; mes "Scissors?It just costs "+.cost+" Zenny."; next; switch(select("Yes:Cancel")) { case 1: mes .@n$; if(Zeny < .cost) goto l_nozeny; set Zeny, Zeny - .cost; mes "Okay,get ready."; set $@ran, rand(1,3); if ($@ran == 3) set .@npcpick$,"Rock"; if ($@ran == 2) set .@npcpick$,"Paper"; if ($@ran == 1) set .@npcpick$,"Scissors"; next; mes .@n$; mes "What do you want to use?"; next; set rpsgame,gettimetick(2); switch(select("Rock:Paper:Scissors")) { case 1: mes .@n$; mes "Okay you've picked Rock"; mes "and I've picked "+.@npcpick$+"!"; next; if(.@npcpick$ == .@player3$) goto l_win; if(.@npcpick$ == .@player2$) goto l_loose; if(.@npcpick$ == .@player1$) goto l_draw; close; case 2: mes .@n$; mes "Okay you've picked Paper"; mes "and I've picked "+.@npcpick$+"!"; next; if(.@npcpick$ == .@player3$) goto l_loose; if(.@npcpick$ == .@player2$) goto l_draw; if(.@npcpick$ == .@player1$) goto l_win; close; case 3: mes .@n$; mes "Okay you've picked Scissors"; mes "and I've picked "+.@npcpick$+"!"; next; if(.@npcpick$ == .@player3$) goto l_draw; if(.@npcpick$ == .@player2$) goto l_win; if(.@npcpick$ == .@player1$) goto l_loose; close; } case 2: close; } l_win: mes .@n$; mes "Congrats you won!"; set rpswin, rpswin+1; if (rpswin>=10) { set rpswin,0; mes "You got the Grand Prize because you have won 10 times in a row!"; announce ""+strcharinfo(0)+" has won the Grand Prize from Rock Paper Scissors Game!",bc_npc|bc_area; getitem 501,10; } set $@ran2, rand(1,10); if ($@ran2 == 10) set @prize,7451 ; if ($@ran2 == 9) set @prize,12103; if ($@ran2 == 8) set @prize,969; if ($@ran2 == 7) set @prize,4001; if ($@ran2 == 6) set @prize,909; if ($@ran2 == 5) set @prize,501; if ($@ran2 == 4) set @prize,502; if ($@ran2 == 3) set @prize,503; if ($@ran2 == 2) set @prize,504; if ($@ran2 == 1) set @prize,505; set $@ran3, rand(1,3); if ($@ran3 == 3) set @amount,5; if ($@ran3 == 2) set @amount,3; if ($@ran3 == 1) set @amount,1; next; mes .@n$; mes "Take this Prize!"; getitem @prize,@amount; goto OnMenu; close; l_loose: mes .@n$; set rpswin,0; mes "You lost!Let's play another round!"; goto OnMenu; close; l_draw: mes .@n$; mes "This was a draw,you'll get your money back!"; mes "but let's play another Round!"; set Zeny, Zeny + .cost; goto OnMenu; l_nozeny: mes "Hey,are you kidding me?You need more Money!"; close; } The win count will reset to 0 again if you lose the game
  9. I think skill command with flag 0 should bypass the original skill tree setup..
  10. So the Nephalem Valor got levelled up everytime you have100 valor points?
  11. Item bonus can be placed right on the item_db.txt And what do you want to achieve by using callfunc?
  12. Thanks Maki for your reply! So what I have to do? Make a fork from 'master' branch. 'Git Clone' it to my local drive. Make changes on local drive. 'Push' changes to my fork repo. Submit 'Pull Request' to Master branch. Is there any step that I miss?
  13. There're several of halted 'Custom client' projects. I think most of them was stopped because they're closed source projects, the project starter will eventually becoming frustated when they're stuck at some point, or simply don't have enough time to develop it further because they have something to do in real life. If the current rA dev team has to make the custom client, they won't be focused on rAthena server-side development itself. The major downside will be: Bug fix will be slowed down, new official updates will take longer to implement, and something else we could imagine. Yes, I admit, it's frustating to keep up with official Ragexe/RE client updates...
  14. A noob-friendly tutorials will be appreciated
  15. Hmm.. The 2012-04-10 client is already outdated by a year if we think on the date. But it's true that the 2013 clients still have some unknown bugs. Maybe a study or a reasonable vote to decide which version we should focus on is not a bad idea?
  16. Dang... I didn't realize that it only needs a single line... Does making a 'Pull Request' means that I have to make a fork? TBH I don't know how
  17. function script F_RandMes { set .@i, getargcount()-1; return getarg(rand(0,.@i)); }
  18. I think it could be simplified like this: function script F_RandMes { set .@i, getargcount(); return getarg(rand(1,.@i)); } What do you think?
×
×
  • Create New...