Jump to content

Dastgir

Members
  • Posts

    331
  • Joined

  • Last visited

Everything posted by Dastgir

  1. - At the Server Select a player can choose a language! Better make 3-4 Clients with name "German.exe",etc that reads different idnum2tables/iteminfo(possible via hex) - All serverside things will be displayed in the chosen language. "npcs, msg_athena.conf etc." As they login , a npc will trigger which will save its default language, but you have to put everywhere "if (#language)" ALTERNATE METHOD: make a function and call it like mesl(msgID,LangID)[i have made it for myself] Client-Side options: 1) For every language it will gives an own client. 2) All translated stuff will be at the same client and the server choose the right files! (But how???) 3) The server read different grfs for each language. 1) As I told,Better make 3-4 Clients with name "German.exe",etc that reads different idnum2tables/iteminfo(possible via hex) 2)Via Hex. 3) 1 GRF will contain all files,(or if you have Small clients for different languages, then different grf) Server-Side options: 1) All scripts contains "if (language = 1)", "if (language = 2)", etc... 2) For each language will give another rAthena, but with the same login-/map-/char_server. (But I think it will not work.) 3) Complete SQL based. Example "Different SQL Tables for every language." If a player chosen the language -> french, the npc call the "french sql_table" 1)As they login , a npc will trigger which will save its default language, but you have to put everywhere "if (#language)" ALTERNATE METHOD: make a function and call it like mesl(msgID,LangID)[i have made it for myself] 2)1st Method is good enough. 3)Why different sql table?Please elaborate this point. See my pm. So the Solution is: make 2-4 client reading different item files, as they login npc will prompt to choose language, all npc will not be triggered by script command "mes" but with "mesl(msgID,LngID)" or at init load with "mesl2(msgID Strart,msgID Final) so it stores in npc array and simply do "mes .msgID[0];"[My Mod.]
  2. Thanks for the Cards, I have almost 100 sprites(paid sprite), and this really helped me out for cards.
  3. Here's a Full script. Exchanger.txt
  4. Dastgir

    Converting

    Its because of that "code" function. Anyways' here's the file. I didn't saw you have put that on Oninit: anyways, here's a working version. porint.txt
  5. PointToZeny: dispbottom "You can get "+#CASHPOINTS*10000+" zeny"; mes "How Much Point you want to convert?"; mes "1 Point = 10k zeny"; input @ptc; if (#CASHPOINTS >= @ptc){ set #CASHPOINTS,#CASHPOINTS-@ptc; set zeny,zeny+@ptc*10000; dispbottom "Current Points:"+#CASHPOINTS; dispbottom "Current Zeny:"+zeny; close; } else{ mes "You don't have enough cash points"; } close; ZenyToPoints: dispbottom "You can get "+zeny/10000+" Points"; mes "How Much Point you want?"; mes "1 Point = 10k zeny"; input @ptc; if (zeny >= @ptc*10000){ set #CASHPOINTS,#CASHPOINTS+@ptc; set zeny,zeny-@ptc*10000; dispbottom "Current Points:"+#CASHPOINTS; dispbottom "Current Zeny:"+zeny; close; } else{ mes "You don't have enough zeny"; } close; 1 Point = 10k Zeny i.e 1000 Cash Point = 10m Zeny
  6. Dastgir

    Converting

    //===== rAthena Script ======================================= //= Poring Summoner //===== By: ================================================== //= Bahmut (Made it automated) //= MoonlightRO (Original) //===== Current Version: ===================================== //= 1.4 //===== Compatible With: ===================================== //= TXT & SQL //===== Link to orginal: ===================================== //= [url="http://www.eathena.ws/board/index.php?showtopic=236779"]http://www.eathena.w...howtopic=236779[/url] //============================================================ - script Poring Summoner -1,{ OnInit: //---- NPC Config ----- set .SpecialPorings,2; set .NormalPorings,2; //--------------------- initnpctimer; end; OnSpecialKill: set .SpecialPorings[1],.SpecialPorings[1]-1; announce strcharinfo(0) + " got a " + getitemname(.ItemID) + "!",bc_map; // getitem .ItemID,1; set PoringPoint,PoringPoint+1; dispbottom "You got 1 Poring Point"; dispbottom "Total Poring Points:"+PoringPoint; goto PoringCount; OnNormalKill: set .NormalPorings[1],.NormalPorings[1]-1; goto PoringCount; PoringCount: announce "Special Poring: " + .SpecialPorings[1] + " || Normal Poring: " + .NormalPorings[1],bc_map; if(!.SpecialPorings[1]) goto EndEvent; end; OnTimer216000000: RestartEvent: killmonster .Map$,"All"; set .Event,0; set .SpecialPorings[1],0; set .NormalPorings[1],0; removemapflag .Map$,mf_noskill; set $@ran, rand(1,10); if ($@ran == 10) set .Map$,"lighthalzen"; if ($@ran == 9) set .Map$,"louyang"; if ($@ran == 8) set .Map$,"comodo"; if ($@ran == 7) set .Map$,"xmas"; if ($@ran == 6) set .Map$,"aldebaran"; if ($@ran == 5) set .Map$,"izlude"; if ($@ran == 4) set .Map$,"payon"; if ($@ran == 3) set .Map$,"geffen"; if ($@ran == 2) set .Map$,"morocc"; if ($@ran == 1) set .Map$,"prontera"; setmapflag .Map$,mf_noskill; monster .Map$,0,0,"Poring",1002,.SpecialPorings,"Poring Summoner::OnSpecialKill"; monster .Map$,0,0,"Poring",1002,.NormalPorings,"Poring Summoner::OnNormalKill"; set .SpecialPorings[1],.SpecialPorings; set .NormalPorings[1],.NormalPorings; announce "The Poring Event has begun!",bc_all; announce "Location: " + .Map$,bc_all; announce "Special Poring: " + .SpecialPorings,bc_all; announce "Normal Poring: " + .NormalPorings,bc_all; setnpctimer 0; end; } This will give Poring Points upon killing Special Poring, variable is "PoringPoint" Please See Post #12
  7. data/luafiles514/lua files/quest/localquest/
  8. Done decrypting to lua. Click HERE to Download.
  9. Haven't Tested, Basically It Checks if Guild have the EC Skill, if yes then uses the skill,(maybe it ignores the cooldown time.) ec.txt
  10. http://spriterepository.com/files/file/2579-zombie-mode-inspired-by-call-of-duty-4/ Exactly the same description as @topicstarter said. Haven't Tested, just test it.
  11. Dastgir

    EC Problem

    11 means Skill is usable on GvG grounds. Skill is usable during woe. Skill is usable outside of woe. skill_cast_db.txt 10013,5000,0,0,0,40000,0,0 Casting time is 5000ms Cool-down time is 0ms
  12. Suggestion: First Player disguise into zombie. It would need faction system too so that zombie don't attack zombie and player don't attack player.
  13. Dastgir

    EC Problem

    What's your emergency_call: setting in skill.conf?
  14. 2012-04-10 is stable 2012 client. In 2012-06-18, as of now, if there's animation of skill on the ground(eg: Safety Wall) and you type @go/@warp, Client Crashes. That's What i have experienced.
  15. Script:GiveSkill.txt Usage: put GiveSkill(<skillid>,<level>); in the reward to get the skill CheckSkillPC(<number>); for not allowing more than <number> skills. I have included test script for gm in which you can pm npc:GiveSkillPC with message "DROP" to Drop table. "CREATE" to create table, "<skillid>#<level>" to get that level It by defaults put the sql table ,(OnInit Label). Tested and Working. Thanks. I have already given the script @TopicStarter, but he doesn't seem to know how to use it.
  16. rA is not dead, its updating oftenly as I see, rA is lot behind from kRO but rA is doing good and updating the emulator.
  17. Its better if rAthena have both because most of the users prefers pre-re because they don't like the renewal mechanics, While some of the people likes new updates and are in renewal.
  18. cleararray @array[0],0,127; This will turn all values till [127] to 0
  19. Dastgir

    MD5 password

    +1 If there's much complicated password in md5, its very less percent chance to crack it down, BUT, Often Players use easy passwords. No Player would input hard/long passwords for logging in server everyday. Well then, wouldn't that be their fault then? If they get hacked, it'd be their fault but then complain to the Admin But they don't understand its their own fault. But As I Think, Its admin fault also for low security of the databases. Keep very hard passwords for vps and sql, and ddos protected, and then its no chance to get hacked.
  20. Dastgir

    MD5 password

    +1 If there's much complicated password in md5, its very less percent chance to crack it down, BUT, Often Players use easy passwords. No Player would input hard/long passwords for logging in server everyday.
  21. There's option for Patcher/Client Updated I think, just tick that, and choose the .exe file.
  22. Yes, there's option in ThorGenerator.exe
×
×
  • Create New...