Jump to content

Balfear

Members
  • Posts

    256
  • Joined

  • Last visited

  • Days Won

    34

Everything posted by Balfear

  1. The best way is set it white color: <ITEM>^EEEEEERed Potion^000000<INFO>501</INFO></ITEM>
  2. Yes, neural network can upscale images so no need to redraw it with photoshop, but repack images into sprite still need to do by hands. (all npcs = ~17k images)
  3. [UPDATE]: Since Innova (4Game) closed my project and I can no longer open new projects, this is my parting gift to the rAthena community. You can download my sprites rework [FOR FREE] and not for sale! [DOWNLOAD] https://mega.nz/file/taQwkKwL#ikVnLwKyX52rymVMlaAqxFMd8YHsC2itTyk3GxmAjtc Hi all! I improved the NPC images (1190 sprites up to episode 18.1) using a neural network (ESRGAN) and made new HD sprites. Want to show you my final work! ? What do you thinking about it?
  4. 1) если пре-ре с контентом ре тогда надо перенести необходимые данные/базы из db/re в db/pre-re, если используется sql базы то перенести данные из таблиц _re в обычную 2) если реневал с механикой пре-ре то надо закоментировать множество условий в src. лучше воспользоваться первым вариантом
  5. Hi, you can use mapflag noskill to disable all skills; https://github.com/rathena/rathena/blob/master/doc/mapflags.txt#L161 or create new zone with list of skills that shouldn't be used on current map https://github.com/rathena/rathena/blob/master/db/re/skill_nocast_db.txt for that you need mapflag restricted <zone> https://github.com/rathena/rathena/blob/master/doc/mapflags.txt#L167
  6. Hi, check my free script. It can add and upgrade sockets. https://github.com/Balferian/Rathena_scripts/blob/master/Enchant master.txt
  7. no, this is from aegis ?
  8. episode, map name, coordinates?
  9. Need to add check case 1: query_sql("SELECT `balance` FROM `" + escape_sql(.redeemTable$) + "` WHERE `account_id` = " + getcharid(3), .@credits); if (.@credits > 0){ mes "How many Donation Credits do you wish to redeem?"; next; mes .npcName$; input .@withdrawCredits,1,.@credits; if(.@withdrawCredits > .@credits) { mes "You don't have enough credits."; close; } query_sql("UPDATE `" + escape_sql(.redeemTable$) + "` SET `balance` = `balance` - " + .@withdrawCredits + " WHERE `account_id` = " + getcharid(3) + ""); set #CASHPOINTS,#CASHPOINTS + .@withdrawCredits; mes .@withdrawCredits + "x " ; } else { mes "My records indicate that there are no rewards awaiting to be redeemed."; mes "My deepest apologies for the misunderstanding."; } break;
  10. Read this to understand how variables works and what variable should use here: https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L455 ...$ - is a string variables you should use here .@... getitem .donate_item, .@Donation_Code;
  11. Yes, you can use makeitem command https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L4863
  12. Also when you delete items (only if it is headgear or robe) from inventory you should update `char` table: set value 0 for head_top, head_mid, head_bottom, robe. SELECT * FROM `inventory` WHERE char_id = <char id> AND equip > 0; UPDATE `char` SET head_top = 0, head_mid = 0, head_bottom = 0, robe = 0 WHERE char_id = <char id>;
  13. Hi, you can see sample of instance in rathena docs https://github.com/rathena/rathena/blob/master/doc/sample/instancing.txt monster instance_mapname("nov_grnds"),0,0,"Poring",1002,20;
  14. only if you change exe to lower version, gravity remove it.
  15. check this commit https://github.com/rathena/rathena/pull/5563/files colors depend on client version
  16. - script Treasure Box Respawner -1,{ OnMinute00: monster "prontera",0,0,"Treasure Box",2288,1,"Treasure Box Respawner::OnTBoxDestroyed"; end; OnTBoxDestroyed: announce "The Treasure box has been destroyed by " + strcharinfo(0) + "!",3; end; } https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L857
  17. add new group here https://github.com/rathena/rathena/blob/master/src/map/mob.hpp#L113 and here https://github.com/rathena/rathena/blob/master/src/map/script_constants.hpp#L4577 then recompile your server
  18. @norightinfo if you want to use high id in lua then you need use exe 2018-11-21 or higher.
  19. What exe version you use? Maybe it`s old and don`t support high items id.
  20. View File Homunculus - highresolution sprites All homunculus sprites with high resolution. Free for use. Submitter Balfear Submitted 12/18/2020 Category Other Sprites Video Content Author Balfear  
  21. Version 1.0.0

    294 downloads

    All homunculus sprites with high resolution. Free for use.
    Free
  22. Hi. You can use GRF Editor for this. itemInfo_true.lub
  23. You can see example in main file for Renewal: https://github.com/rathena/rathena/blob/master/db/re/item_randomopt_group.yml
  24. You should set "costume = true" value in your item info for equips that you want to show in costume tab. Example: [2206] = { unidentifiedDisplayName = "Hat", unidentifiedResourceName = "ĸ", unidentifiedDescriptionName = { "Unknown Item, can be identified by using a ^6666CCMagnifier^000000." }, identifiedDisplayName = "Wedding Veil", identifiedResourceName = "�����", identifiedDescriptionName = { "A transparent veil worn by brides on the day of their wedding.", "Mdef +5", "Class:^6666CC Headgear^000000", "Defense:^0000FF 0^000000", "Position:^6666CC Upper^000000", "Weight:^009900 10^000000", "Jobs:^6666CC Female Only", "All jobs^000000" }, slotCount = 0, ClassNum = 44, costume = true },
  25. .@nameid = 30001; .@list = query_sql("SELECT `name`, amount FROM `inventory` LEFT OUTER JOIN `char` ON `char`.char_id = `inventory`.char_id WHERE nameid = "+.@nameid, .@char_name$, .@amount); for( .@i = 0; .@i < .@list; .@i++ ) { dispbottom "[" + .@char_name$[.@i] + "] has " + getitemname(.@nameid) + " " + .@amount[.@i] + " ea."; .@total_amount += .@amount[.@i]; } dispbottom "[Total amount of " + getitemname(.@nameid) + " " + .@total_amount + " ea.]", 0x00FFFF; end; Try this. Script read items only from inventory table.
×
×
  • Create New...