Jump to content

sader1992

Content Moderator
  • Posts

    1691
  • Joined

  • Last visited

  • Days Won

    77

Everything posted by sader1992

  1. you use LessGRF ? 1. Installation To upgrade your client, replace the cps.dll in your Ragnarok folder with the one from the download. (Make a backup of the old DLL file first.) i suggest you use Grf Editor
  2. then no need to a script just add monster spawn in the fields you need https://github.com/rathena/rathena/wiki/Permanent_Monster_Spawn like that >> map_name = Map Name ("this" is actual map) X = X (horizontal) coordinates on map_name Y = Y (vertical) coordinates on map_name X2 = X2 (horizontal) rectangle Y2 = Y2 (vertical) rectangle = Replace this with a tab Name = Name that will show mob_id = Monster ID(from mob_db) = Replace this with a tab amount = Amount to be spawned delay = Delay (in milliseconds) variance = Delay variance (in milliseconds) event = NPC event that will be called when the monster dies (Example: NPCName::Label) prontera,0,0 monster Treasure Box 1845,2,259200000,0,0 prontera = map Treasure Box = the name of the monster no need to it real name you can use any name 1845 = monster id 2 = amount 259200000 = 3 days you add the line like this https://github.com/rathena/rathena/blob/master/npc/mobs/citycleaners.txt#L22 and choose the monster id you want and edit it from from mob_db.txt if you use txt and sql if you use sql https://github.com/rathena/rathena/blob/master/doc/mob_db.txt#L186 << this is a doc for what to do in mob_db
  3. disable all the npcs by renaming the folder it self then try to login
  4. i know one way to do it https://github.com/rathena/rathena/blob/master/src/map/atcommand.c#L1748 it need a lot of work tho but the answer yes you can with npc
  5. then i think you will need to add the file name in itemdb.c https://github.com/rathena/rathena/blob/master/src/map/itemdb.c#L1775 i don't know if there is another ways tho maybe there is easier way as i suggest to not edit a lot in src files i don't know if the old import work anymore
  6. you can add the lines in any item_group Example for my testing i used rathena\db\pre-re\item_giftbox.txt IG_GiftBoxChina,5015,2 // Egg Shell // Old Gift Box IG_OldGiftBox,5270,45 // Happy Wig IG_OldGiftBox,5271,15 // Phoenix Crown IG_OldGiftBox,5272,40 // Smiling Mask IG_BLESSED_CUBE,2613,1 // Diamond Ring IG_BLESSED_CUBE,5009,1 // Safety Helmet IG_BLESSED_CUBE,5010,1 // Indian Fillet IG_BLESSED_CUBE,5014,1 // Fin Helm IG_BLESSED_CUBE,5015,2 // Egg Shell // Old Gift Box IG_BLESSED_CUBE,5270,45 // Happy Wig IG_BLESSED_CUBE,5271,15 // Phoenix Crown IG_BLESSED_CUBE,5272,40
  7. is it the same account you was using it before ? did you add any npc/script/client files ? did you try to login another account/char ? did you install anything on the vps/database ? is your subnet_athena.conf subnet: 255.0.0.0:127.0.0.1:127.0.0.1 ?
  8. i tested it and it work with the last revision however you can give it a different id by don't this for example in itemdb.h IG_BLESSED_CUBE = 500, this will make it id 500
  9. @MusiLiciouS can you show us the itemdb.h and script_constants.h and the line for the item in item_db.txt ? and you need to stop the server before Compiling ./athena-start stop ./configure && make clean && make server ./athena-start start
  10. it would be better if you make webhost and username/password for the ppl who buy the gepard and the server connect to there to check for the login info and check for Duplicate login and the server owner can change the password from the website
  11. your script after i edit it it work and i // the line it's only a chat not effect the script you can put another line instead as i did dispbottom "cash"; to replace it
  12. add it here >> https://github.com/rathena/rathena/blob/master/src/map/itemdb.h#L739 and here >> https://github.com/rathena/rathena/blob/master/src/map/script_constants.h#L3815 then >> ./configure && make clean && make server
  13. for the monsters to take 1 dmg i would suggest you use custom monster or monster that aren't used in any map this for more info how you can make the monster take 1 dmg mob_db_mode_list for the respawn time i think you can use this script i edit it prontera,138,180,4 script Farm Zone 567,{ mes "You can farm various items inside."; mes "which included ^FF0000Cash Points + Items^000000"; set @no_item_loot,( select( "Item + Cash Points","Cash Points" ) - 1 ); warp "new_1-3",105,67; close; OnInit: waitingroom "Farm Zone",0; end; OnNPCKillEvent: set @mobswitch, rand(1,2); getmapxy .@map$,.@mx,.@my,0; if(.@map$ == "new_1-3") { if( killedrid == 1561 ){ if(@mobswitch==1){ set #CASHPOINTS,#CASHPOINTS + 2; set @cash_poring,@cash_poring + 1; //dispbottom "Accumulated Cash Point : "+callfunc( "ValueConvert",#CASHPOINTS )+" Points."; dispbottom "cash"; }else{ if( @no_item_loot ){ dispbottom "No Item Drop since you selected 'Only Cash' mode."; }else{ getitem 7420,3; getitem 7539,3; getitem 12031,1; getitem 12030,1; getitem 7179,1; } } } } end; } new_1-3,0,0,0,0 monster Farm 1561,300,0,0,0 new_1-3,0,0,0,0 monster Farm 1561,300,0,0,0 new_1-3,0,0,0,0 monster Farm 1561,300,0,0,0 new_1-3 mapflag noexp new_1-3 mapflag noskill new_1-3 mapflag nomemo new_1-3 mapflag nobranch new_1-3 mapflag nosave - script homun_block -1,{ OnPCLoadMapEvent: if (strcharinfo(3)=="new_1-3" && gethominfo(0)) { dispbottom "Please remove your homunculus to enter the map"; warp "SavePoint",0,0; } end; } but i don't know what this line for >> dispbottom "Accumulated Cash Point : "+callfunc( "ValueConvert",#CASHPOINTS )+" Points.";
  14. everything possible if you explain more >.>
  15. what the monsters you use in the map ? (you make) = can you show us the script you use for the monsters ? for the job change i think you use rathena-master\npc\custom\jobmaster.txt just open it and edit it .SecondExpanded = 0; // Enable new expanded second classes: Ex. Super Novice, Kagerou/Oboro, Rebellion? (1: yes / 0: no)
  16. NO but you can run it in mac with 3rd party apps wineskin or crossover etc or Virtual machine
  17. after more tests i realeyes that i was doing something wrong and you probably doing the same lol hahahaha you just after you build your grf remove or rename the data folder lol
  18. i did try on this client and it not work maybe some packet are missing i will see more on this problem when i have time but hopefully someone else have the fix for that in the meanwhile
  19. if i am in your place i would try another client
  20. - script s_freebies_npc -1,{ OnInit: bindatcmd "freebies",strnpcinfo(0)+"::ONfreebies"; end; ONfreebies: if(!#Freebies){ getitem 7227,100; getitem 7539,10; set #Freebies,1; }else{ dispbottom "You already got your free prizes!"; } end; }
  21. adding //v2 //v3 info to the post //v.4.0 fix where all the players get the same quest fix where you need to kill the monster counts +1 to complete the quest add subclasses for adding custom rewards for each mode line 207 to 220 Fix where @reloadscript reset the quest
×
×
  • Create New...