Jump to content

Stolao

Developer
  • Posts

    1443
  • Joined

  • Last visited

  • Days Won

    40

Everything posted by Stolao

  1. File Name: Mini-Game Center File Submitter: Stolao File Submitted: 11 Feb 2013 File Category: Games, Events, Quests Content Author: Stolao A Collection of mini games and events for gambling. Currently Consist of just 1 NPC will be updating every time i add more, taking request Click here to download this file
  2. I think it would be a nice addition, at least give newer people a gentle push into making sorce mods. But I don't think it needs to be quite as long as the script_command.txt
  3. Version v1.03

    943 downloads

    A Collection of mini games and events for gambling. Currently Consist of just 1 NPC will be updating every time i add more, taking request
    Free
  4. I did a quick optimization of your beginner zone for you, bored on phone ( didn't test ) //Entering Beginner Zone amatsu,216,215,3 script Beginner Zone 729,{ mes "Would you like to go to the Beginner Zone?"; if(select("Yes", "No") == 2) close; if(class == 0 || class == 4001) { warp "force_1-1" ,25,24; } else { mes "Only Novice and High Novice Can Enter This Room"; close; } } //The Exit to Amatsu force_1-1.gat,25,26,3 script Exit 729,{ mes "Do You want to leave?"; if(select("Yes", "No") == 2){ next; mes "Then you can still leveling in this room"; close; } else { warp "amatsu" ,226,215; } } force_1-1,9,9,42,42 monster Poring 1002,50,0,0,0 force_1-1,9,9,42,42 monster Drops 1113,50,0,0,0 force_1-1,9,9,42,42 monster Poporing 1031,50,0,0,0 //mapflag force_1-1 mapflag nowarp force_1-1 mapflag nowarpto force_1-1 mapflag noteleport force_1-1 mapflag nomobloot
  5. Updated 1.1C fixed issues AnnieRuru found Updated 1.1F should have all bugs fixed
  6. I believe Ive fix the logic issue with #DRewardCon is greater then getarraysize(.Rewards) if(#DRewardCon*2 >= getarraysize(.Rewards)){ set .@p,.Reward[getarraysize(.Reward)-2]; set .@q,.Reward[getarraysize(.Reward)-1]; } else { set .@p,.Reward[#DRewardCon*2]; set .@q,.Reward[#DRewardCon*2+1]; } However Im having trouble with the online players info being removed, im obviously missing something with this code OnWhisperGlobal: if (getgmlevel() >= 99 && @whispervar0$ == "wipe") { query_sql("DELETE FROM `global_reg_value` WHERE `str` = 'LOGINCOUNT'"); query_sql("DELETE FROM `global_reg_value` WHERE `str` = '#LOGINCOUNT'"); set $LOGINCOUNT,0; set .@self, getcharid(3); set .@size, query_sql("select account_id from `char` where online = 1", .@aid); for(set .@i,0; .@i<.@size; set .@i,.@i+1) { if(attachrid(.@aid[.@i])){ set LOGINCOUNT,0; set #LOGINCOUNT,0; } } attachrid(.@self); dispbottom "Cleared all login count data."; } end; [/s] solved
  7. @AnnieRuru Ya after some testing I found this out, i was trying to go to hex not convert a number from hex making it bigger, I was thinking about adding a src mod for Base16(Hex) and/or Base32 algorithm compression Example set .A$,"1073741824"; set .B$,Compress16(.A$); set .C$,Compress32(.A$); .A$ == "1073741824" .B$ == "40000000" .C$ == "1000000"
  8. This is possible yes, unfortunately im busy this weekend and wont be to much help. Basically you need dynamic shop a base item list And a dynamic item list combine the 2 list when player invokes the shop. On phone sorry if confusing Edit: if your just using zeny might be easier to just callshop with a few different invusible shops
  9. no this is not every hour that is a specifed hour, in this case 1am and 2am He should use OnMinute(), like Yudax said, which runs every time it hits that given minute (every hour)
  10. Suggestion use a bindatcmd instead of whisper maybe?
  11. Oh thank you, i saw those sorry thought the monster sptite spun, turns out they don't ( read more of his topic) So thank you Edit: ya links still down ill check on it again sometime
  12. I'm looking for a treasure chest npc similar to the woe treasure chest but smaller and not spinning but with 8 facings instead. Anyone have something like this or willing to make it? Thank you in advanced.
  13. I found a way to reduce the compressed script, by using set .@N,<num>; Number set .@S$,.@N; Number -> String set .@H$,axtoi(.@S$); String -> Hex to compress it into a smaller variable (approximately 27% smaller) Edit: @Brain, Yes sorry it was 255 not 128 my mistake @Emistry Would doing this have any negative side effects? Edit2:
  14. Sorry Im not entirely sure i understand what your wanting, you want a script that removes all skills and gives a different set of skills? Example: Remove All Skills give skills, Pick Stone, Throw Stone Like that kinda?
  15. This is just a comparison of the characters BaseLevel and JobLevel (which are constant variables, pre-defined by server),you have to do the rest of the script or post a request of what you want in request section
  16. so you want conditions based using this? *getskilllv(<skill id>) *getskilllv("<skill name>") This function returns the level of the specified skill that the invoking character has. If they don't have the skill, 0 will be returned. The full list of character skills is available in 'db/skill_db.txt'. There are two main uses for this function, it can check whether the character has a skill or not, and it can tell you if the level is high enough. Example 1: if (getskilllv(152)) goto L_HasSkillThrowStone; mes "You don't have Throw Stone"; close; L_HasSkillThrowStone: mes "You have got the skill Throw Stone"; close; Example 2: if (getskilllv(28) >= 5) goto L_HasSkillHeallvl5orMore; if (getskilllv(28) == 10) goto L_HasSkillHealMaxed; mes "You heal skill is below lvl 5"; close; L_HasSkillHeallvl6orMore: mes "Your heal lvl is 5 or more"; close; L_HasSkillHealMaxed: mes "Your heal lvl has been maxed"; close;
  17. if(BaseLevel >= 99 && JobLevel >= 70){ < script > } or if(BaseLevel < 99 || JobLevel < 70){ mes "Sorry your to low of a level"; close; } All this can be found in your ro/Doc/script_commands.txt
  18. Today i was working on a script that requires multiple character variables and was using imploded strings to compress them when i reached the 128 character limit per string, so I looked around and found we don't have a compression script such as phps gzcompress(), Can someone make a compression method like this for rAthena?
  19. I used google translate XD script loosly translated to english:crystal_altar.txt i cant read/speak spanish so i tried
  20. Send a pm like if to a player name being "npc:mine"
  21. No its still under discussion if its even going to be removed /branched
  22. Update, again 1.19 realized had no checkweight in script, added and fixed a small typo
  23. So im still for removing/branching pre.
  24. Ya so i really want this implemented now, I've added to my test server using AnnieRuru's patch, and it makes some script so much easier to make.
×
×
  • Create New...