Jump to content

nanakiwurtz

Members
  • Posts

    1654
  • Joined

  • Last visited

  • Days Won

    66

Everything posted by nanakiwurtz

  1. Aww.. Thank you very much for your kind words You made me shy
  2. 1. Replace the pcblock command by using pcblockmove 2. In Miner World.txt // This process creates new mines where were exhausted OnTimer360000: // Each 5 minutes the system check for destroyed mines and re-creates it in new coordinates set .@tmr,0; set .@Page,0; set .@PageSize,10; freeloop(1); while (set(.@tot, query_sql("select map, mines, mtypes from mn_maps limit " + .@Page + "," + .@PageSize,.@map$,.@maxm,.@mtypes))) { for (set .@x,0; .@x < .@tot; set .@x, .@x + 1) { query_sql "select count(*) from mn_mine where map='" + .@map$[.@x] + "'",.@remain; while (.@remain[0] < .@maxm[.@x]) { query_sql "select mclass from mn_class" + (.@mtypes[.@x]==0?"":" where mclass & " + .@mtypes[.@x]) + " order by rand() limit 1",.@nClass; set .@mx,-1; while (.@mx<0) { if (!checkcell (.@map$[.@x],set(.@mx,rand(1,500)),set(.@my,rand(1,500)),cell_chkpass)) set .@mx,-1; } // Probabilities of 30% to create a new mine at this pass... or will be created in a future process if (rand(10) < 3) { query_sql "insert into mn_mine (created, map, mclass, x, y, size) values (now(), '" + .@map$[.@x] + "'," + .@nClass[0] + "," + .@mx + "," + .@my + "," + rand(3,6) + ")"; debugmes "> Mine System: Creating a new mine in " + .@map$[.@x] + "..."; } set .@remain[0], .@remain[0] + 1; } } set .@Page, .@Page + .@PageSize; } freeloop(0); initnpctimer; }
  3. I only have the older version (v1.4), instead of the newer version (v1.5) There are some other files, like the client files, but mostly it's just a custom item, the Driller Boots. Sadly I don't know where I safe the client files, but I think it's okay if you just replace the Driller Boots using other item. Attached files information: - Miner World.txt (v1.4) - VarSystem.txt (v1.3) - LangManagement.txt (v6.15) If you find this post useful, I won't reject any +1 Miner World.txt VarSystem.txt LangManagement.txt
  4. For the skill.c, just wait for the fix from dev. For the missing item, to fix this temporarily, you can add the item #1549 to your import folder. Or just wait for the dev to resolve this issue.
  5. Hello, I have a script to test: prontera,145,150,5 script gettimestr 735,{ dispbottom "1a: "+getstrlen(gettimestr("%Y/%m/%d",20)); dispbottom "1b: "+gettimestr("%Y/%m/%d",20); dispbottom "2a: "+getstrlen(gettimestr("%Y/%m/%d",10)); dispbottom "2b: "+gettimestr("%Y/%m/%d",10); dispbottom "3a: "+getstrlen(gettimestr("%Y/%m/%d",8)); dispbottom "3b: "+gettimestr("%Y/%m/%d",8); } It prints: 1a: 10 1b: 2015/11/15 2a: 0 2b: 3a: 0 3b: Line 1a and 1b works just fine, while line 3a and 3b doesn't even print anything. What I'm questioning here is the line 2a and 2b, why it doesn't work even line 1a prints 10? To make line 2a and 2b work, it needs 1a + 1 = 11 Current syntax: gettimestr(<format string>,<max length>); The format string length (%Y, %m, %d, etc) is always 2 for each. So what I'm suggesting here is to remove max length and make it to count automatically by counting the length of <format string> minus 2 for each %x, add by it's corresponding length (%y=2, %Y=4) then +1. For example: dispbottom ""+gettimestr("%Y/%m/%d"); %Y = 4, / = 1, % m= 2, / = 1, %d = 2 -> 4 + 1 + 2 + 1 + 2 = 10, but we need to add 1 to make it to work, so it will be 11. Buuuuttt.. There is a catch.. The user locale settings is surely different for each systems, like %A (Full weekday name according to locale settings), %B (Full month name according to locale settings), etc So I don't know if this suggestion even makes sense or not...
  6. skill.c: In function ‘skill_parse_row_requiredb’: skill.c:20304: warning: array subscript is above array bounds skill.c:20305: warning: array subscript is above array bounds That warning will be fixed soon [Error]: skill_parse_row_requiredb: Invalid item 1 for skill 2257. [Error]: sv_readdb: Could not process contents of line 683 of "db/pre-re/skill_require_db.txt". It means the skill NC_PILEBUNKER require item 1549 (Pilebuncker) which is only available on Renewal... Are you using pre-re?
  7. For the time being, your best bet will be the 2013 clients.
  8. Try to use Nemo as your client patcher
  9. If you are using Nemo to diff your client, it now has the 'Tip of the day' disabled by default.
  10. Yes just like what Functor said, it's useless. But at least you can reduce it by putting the 'forbidden words' into your manner.txt
  11. Well... Wait until a core dev got motivated.. (someday, maybe)
  12. People can sell their items easier using item link
  13. What's your base_exp_rate and job_exp_rate value on /conf/exp.conf?
  14. It's recommended to use the Git instead of SVN.
  15. - script zaruramenkarma -1,{ OnPCDieEvent: if (Karma) { dispbottom "Your karma is: "+Karma; end; } } Use that to check if you have Karma points.
  16. Are you sure you have the karma system enabled?
  17. @@Anacondaqq = https://github.com/trickyloki3/eadb.compiler
  18. Like this? - script zaruramenkarma -1,{ OnPCDieEvent: if (Karma) { getinventorylist; .@item = @inventorylist_id[rand(@inventorylist_count)]; getmapxy(.@map$,.@mapx,.@mapy,0); delitem .@item,1; makeitem .@item,1,.@map$,.@mapx+rand(-2,2),.@mapy+rand(-2,2); end; } } Untested
  19. What kind of item do you want to drop on death? Random item from inventory?
  20. Update your server at least to https://github.com/rathena/rathena/commit/6ad4ed13d130702b99d0dbe54767c6d6945d4876
×
×
  • Create New...