Jump to content

Dastgir

Script Developers
  • Content Count

    3805
  • Joined

  • Last visited

  • Days Won

    250

Everything posted by Dastgir

  1. I will, but if they do not have the answer I would need "Hercules Board" help in order to avoid killing me trying to find topics for my particular problems that are kind of extrange... xD Thank's for the advice! XIxJEALOUSxIX. but we won't be able to be even hinted that you use rA, since your Emulator field in profile shows you use "Emulator: Hercules".
  2. Dastgir

    hexed 2014

    Sorry for my first post, I mean the ("Server Folder"dbpacket_db.txt) In Hercules, Packets are stored in src/map/packets.h I don't see packets for 2014-02-12 in packets.h, you should consdier to use 2014-02-05.
  3. that means,you are not using herc int dom_point = pc_readaccountreg(sd,"#DOMINATION"); //should be at start of the function.//for checking..if (dom_point>=1){ pc_setaccountreg(sd, "#DOMINATION", dom_point-1); clif->message(sd->fd,"Domination Point Reduced by 1");}
  4. int dom_point = pc_readaccountreg(sd,"#DOMINATION"); //should be at start of the function.//for checking..if (dom_point>=1){ pc_setaccountreg(sd, script->add_str("#DOMINATION"), dom_point-1); clif->message(sd->fd,"Domination Point Reduced by 1");}
  5. either the user is having modified client or added a hook for empty mac.havent experiencing log out on windows 8, maybe its connection spike from your vps?
  6. Something like this? /* ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ ___ / / / /__ / / / / /__ /__ / : /:: /:: /:| _|_ /:: /:: /:: /:: /:| _|_ /:/ _/_ /:: /::__ /:::__ /:/:__ /::|/__ /:/:__ /:/:__ /:::__ /:/:__ /::|/__ /:/_/__ /::__ /://__/ ::/ / : /__/ /|::/ / :/:/ / : /__/ ;:::/ / :/:/ / /|::/ / :/:/ / ::/__/ /__/ :/ / :__ |:/ / ::/ / :__ |:/__/ ::/ / |:/ / ::/ / ::/ / /__/ /__/ /__/ /__/ /__/ |__| /__/ /__/ /__/ /__/ *----------------------------------------- eAthena Script ---------------------------------------------* * Maximum Level Announce * *----------------------------------------------- By: --------------------------------------------------* * TecnoCronus * *----------------------------------------- Current Version: -------------------------------------------* * 1.0 * *----------------------------------------- Compatible With: -------------------------------------------* * rAthena * * eAthena * *------------------------------------------- Description: ---------------------------------------------* * A NPC that announce the 10th firsts persons who got the maximum level * *----------------------------------------- Additional Comments: ---------------------------------------* * It give a item as reward, the item ids of reward are keeped at $@Glob_Array_Item array * * The index of array will be get randomly. * *-------------------------------------------- Changelog -----------------------------------------------* *- https://xp-dev.com/trac/TC_Scripts/log/tecnocronus_scripts/scripts/EN/MaxLvLAnnouncer.txt * *------------------------------------------------------------------------------------------------------*/- script MaxLvLAn -1,{ end; OnPCBaseLvUpEvent: if($numMaxLevel == 20) disablenpc "MaxLvLAn"; else if (BaseLevel==.MaxLvl) { // Check if the player for some reason, reached to Maximum level again if(Rew > 0) end; // Keep the player name on array setarray $Rank$[$numMaxLevel], strcharinfo(0); announce strcharinfo(0)+", you are the "+.places$[$numMaxLevel]+" person to reach the level "+.MaxLvl+", you will receive a reward",0; //give prize if (getd(".PrizeRank_"+$numMaxLevel)<=0){ for (.@i=0; .@i<getarraysize(.PrizeNoRank); .@i++){ getitem .PrizeNoRank[.@i],.PrizeNoRankQ[.@i]; } }else{ for (.@i=0; .@i<getarraysize(getd(".PrizeRank_"+$numMaxLevel)); .@i++){ getitem getd(".PrizeRank_"+$numMaxLevel+"["+.@i+"]"),getd(".PrizeRankQ_"+$numMaxLevel+"["+.@i+"]"); } } // set this variable, to don't take rewards again set Rew, 1; // Keep the last array index set $numMaxLevel,$numMaxLevel+1; if($numMaxLevel == 19) // Should be 9 now because the array index start in 0 (Thanks to ToastOfDoom) disablenpc "MaxLvLAn"; } end; OnInit: // Set here the maximum level of your server set .MaxLvl, 175; // Array with the item id rewards setarray .PrizeRank_1[0],7227,501; //Rank 1 Prize setarray .PrizeRankQ_1[0],3,4; setarray .PrizeRank_2[0],7227; //Rank 2 Prize setarray .PrizeRankQ_2[0],2; setarray .PrizeNoRank[0],501; //Give this when player is not from rank. setarray .PrizeNoRankQ[0],3; //array lookup for place names setarray .places$[0], "First", "Second", "Third", "Fourth", "Fifth", "Sixth", "Seventh", "Eighth", "Ninth", "Tenth","Eleven","Twelfth","Thirteenth","Forthteenth","Fifteenth","Sixteenth","Seventeenth","Eighteenth","Nineteenth","Twentieth"; if(!$numMaxLevel) set $numMaxLevel, 0;}prontera,146,165,6 script MaxLvLRank 718,{ mes "[Constantin]"; mes "Hello, I'm Constantin, I'm the person"; mes "Who have access to all the Rune Midgard Registries"; mes "Are you interested in something ?"; if(select("I want see the Top Level Ranking: No, Nothing.")==1) { mes "This rank shows the first 10 people who reached the"; mes "Maximum Level."; next; mes "[Constantin]"; if($Rank$ != "") { mes "No one reached the maximum level yet"; close; } for(set @i, 0; @i < getarraysize( $Rank$ ); set @i, @i + 1) mes @i+"º"+$Rank$[@i]+"."; } else { mes "Ok, no problems."; } close;} Check OnInit part to know how prize system will work.
  7. One in the ClientSideRepo is having this entries: 7239#Errands for Thorn (hard)#SG_FEEL#QUE_NOIMAGE#Thorn needs materials for refining so bring him 20 Used Iron Plate#Collect 20 Used Iron Plate#7240#Equipment Enhancement#SG_FEEL#QUE_NOIMAGE#Bring your new Eden Group Equipment to Thorn and ask him to strengthen them for you and he will give you a random equipment bonus.##7241#Errands for Thorn timer#SG_FEEL#QUE_NOIMAGE#Return to Thorn after waiting 24 hours.##
  8. .... Nothing Here .

  9. Download http://code.google.com/p/luaforwindows/downloads/list (version 5.1 recommended) Open command prompt, go to hercules/tools folder by cd command. Type Item_merge.lua And the command prompt will give full format on what to use.
  10. Be sure to change all occurrences, also note tht all things should not be uppercased, like in the error, it was expecting .gm but there was .GMElse show the script if want us to fix.
  11. Why setting unnecessary variables, why not directly getitem 512, 2;
  12. Use msgstring of 2013-08-07 from data/MsgString folder..
  13. The 1st tab on quest window would show it I guess.. And about korean, its obviously translation issue, check questid2display.txt nd mke sure it is on the 1st grf that is been loaded.
  14. Encrypt the grf? Probably make your own grf encryption for best protection. But if you want to use well known encryptor, use SecureGRF, until now it dont have any decryptor (so backup original sprite first), so it is secure for now, but who knows the future...
  15. Dastgir

    IND please!

    Consider waiting for Ind....
  16. Welcome to Hercules community.
  17. Mask everything? even there are checks like that, bots can still login? O_O yes, that is why we can't really block them 100% since they came out Make some hooks which send a completely unique packet id(over a range like from 0x1000 to 0x1111) with some data, which in return, client should return a data which contains encrypted player's data like IP/Mac and validate it server side. Can Assure you 99.9% Botters cannot bot because of this system(unless the system is leaked to the experts and they want to REALLY modify the openKore and bot in your server, which is as low as 0.001% Chance)
  18. 7036 = 28726 f00 = 3840 the maximum packet limit is 0xF00 , but the packet received is 0x7036(much larger than the limit)
  19. AFAIK, Cards are not meant to be rented/bounded.
  20. Lets wait till 25th august to know if its real or not xD
  21. you can do it yourself depending upon your site.just make site query the server's sql, and get value of the required variables and char_id from char_reg_num_db, once you have char id , get its name from char table and output the name and value table. (Sorry, on mobile now..)
  22. prontera,150,150,5 script freebie_set 999,{if (#freebie_set){ mes "You have already claimed your freebies"; close;}OnPCLoginEvent: if (#freebie_set){ end; } mes "Select Freebie Set"; switch(select("STR:INT:VIT:LUK:DEX:AGI")){ case 1: getitem STR_SET1,1; getitem STR_SET2,1; #freebie_set = 1; break; case 2: getitem INT_SET1,1; getitem INT_SET2,1; #freebie_set = 2; break; case 3: getitem VIT_SET1,1; #freebie_set = 3; break; case 4: getitem LUK_SET1,1; #freebie_set = 4; break; case 5: getitem DEX_SET1,1; #freebie_set = 5; break; case 6: getitem AGI_SET1,1; #freebie_set = 6; break; } close;} setting #freebie_set to different values will give you ability to track which set the player as chosen like to check if (#freebie_set==6){ mes "You have already taken AGI Set as Freebies"; }
  23. As I told, I will check the questID2Display.txt soon, sorry for the delay ( ).. Changelog: Limitted all Quest Entries to 6 # @r130: https://github.com/ROClientSide/Translation/commit/9962586acd3f6f370018f5b6c56af79fc19f9d91 (~30 entries was having > 6 #'s)
  24. I know that, its just that we are lacking translators. there's 500+ items missing(as I assume)
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.