Jump to content

astralprojection

Members
  • Content Count

    333
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by astralprojection

  1. I was trying to figure out how to send those pending message from old mail to RoDex since newer client don't open the old mail already. I made some script to do this but i need clarification on the query. table `mail` has column `status`. What is the meaning of this values? 0 = 1 = 2 = https://pastebin.com/HEyScmz1 Thank you guys.
  2. linux: 4. login to your linux machine 5. change directory to Hercules or your custom folder and make tools then use mapcache to compile it. $ cd Hercules Hercules]$ make tools Hercules]$ ./mapcache
  3. /db/pre-re(re)/map_zone_db.conf { /* GvG zone is applied to all maps with a gvg mapflag */ name: "GvG" /* changing this name requires MAP_ZONE_GVG_NAME to also be changed in src/map/map.h file */ disabled_items: { Yggdrasilberry: true Seed_Of_Yggdrasil: true } },
  4. need help on this, what i need to accomplish here is player click npc and open sell window. Player drag items to window and sell. If item sold matches the given array, they will get the predefined item from the array. I can pay for this to accomplish, just pm me. - shop dyn_shop1 FAKE_NPC,501:50. prontera,145,94,3 script Jaiho 4_F_JPNOBA,{ callshop "dyn_shop1",2; // sell only npcshopattach "dyn_shop1"; end; OnSellItem: check all @sold_nameid if matches the needed item below, then give the .@?item if matches. OnInit: // if 1 item sold to npc then cancell // if 2 item sold to npc then check from the array below setarray .@2items[ 0 ] = 501,502,503,504,505,506,545,546; setarray .@2need1[ 0 ], 507, 1, 508, 1; setarray .@2need2[ 0 ], 509, 1, 510, 2; setarray .@2need3[ 0 ], 511, 2, 512, 1; setarray .@2need4[ 0 ], 513, 1, 514, 1; setarray .@2need5[ 0 ], 515, 1, 516, 2; setarray .@2need6[ 0 ], 517, 1, 518, 1; setarray .@2need7[ 0 ], 519, 2, 520, 1; setarray .@2need8[ 0 ], 521, 1, 522, 3; // if 3 item sold to npc then check from the array below setarray .@3items[ 0 ] = 501,502,503,504,505; setarray .@3need1[ 0 ], 507, 1, 508, 1, 509, 1; setarray .@3need2[ 0 ], 509, 1, 510, 2, 511, 2; setarray .@3need3[ 0 ], 511, 2, 512, 1, 513, 4; setarray .@3need4[ 0 ], 513, 1, 514, 1, 515, 2; setarray .@3need5[ 0 ], 515, 1, 516, 2, 517, 1; // if 4 item sold to npc then cancell // if 5 item sold to npc then cancell // if 6 item sold to npc then check from the array below setarray .@6items[ 0 ] = 501,502,503,504,505 ...; setarray .@6need1[ 0 ], 507, 1, 508, 1, 509, 1, 509, 1, 510, 2, 511, 2; setarray .@6need2[ 0 ], 509, 1, 510, 2, 511, 2, 511, 2, 512, 1, 513, 4; setarray .@6need3[ 0 ], 511, 2, 512, 1, 513, 4, 513, 1, 514, 1, 515, 2; setarray .@6need4[ 0 ], 513, 1, 514, 1, 515, 2, 515, 1, 516, 2, 517, 1; setarray .@6need5[ 0 ], 515, 1, 516, 2, 517, 1, 507, 1, 508, 1, 509, 1; ... ... ... // if more than 6 item sold to npc then cancel end; }
  5. Hi Dastgir, i found an issue when player has auraset and uses @at, they will not show up, they are hidden.
  6. { Id: 4147 AegisName: "Baphomet_Card" Name: "Baphomet Card" Type: 6 Buy: 20 Weight: 10 Loc: 2 DropAnnounce: true Script: <" bonus bHit,-10; bonus bSplashRange,1; "> }, you can do it on all rate items that you want to announce.
  7. @haru sir, kindly update the plugin please CC naviluagenerator.c naviluagenerator.c: In function 'atcommand_createnavigationlua_sub_mob': naviluagenerator.c:402:81: error: 'const struct view_data' has no member named class_' fprintf(fp, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, (amount<<16)|mobinfo->vd.class_); ^ naviluagenerator.c: In function 'atcommand_createnavigationlua_sub_warp': naviluagenerator.c:448:69: error: 'struct view_data' has no member named 'class ' fprintf(fp_link, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, (nd->vd->class_ == WARP_CLASS) ? 99999 : (int)nd->vd->class_); ^ naviluagenerator.c:448:114: error: 'struct view_data' has no member named 'class_' fprintf(fp_link, OUT_INDENT OUT_INDENT "%d," OUT_SEPARATOR, (nd->vd->class_ == WARP_CLASS) ? 99999 : (int)nd->vd->class_); ^ make[1]: *** [../../plugins/naviluagenerator.so] Error 1
  8. here my plugin whobuy whosell mapmoblist noinvitation security
  9. its related here http://herc.ws/board/topic/14562-map-server-errors/
  10. got same issue . i send another report at bug tracker https://github.com/HerculesWS/Hercules/issues/1661
  11. just create 2 sets of database example: server 2: ragnarok2 & log2 <- 2nd server.. I suggest create new user on your VPS by: login as root: #add new user for 2nd server useradd --create-home --shell /bin/bash <NewUser> passwd <NewUser> login as <NewUser> and obtain Hercules login as root in your vps and run these commands: or you can use "su" command mysql --user=root CREATE DATABASE ragnarok2; CREATE DATABASE log2; // To grant access for your localhost CREATE USER '<your_new_db_user>'@'localhost' IDENTIFIED BY '<your_new_db_pass>'; GRANT ALL ON `ragnarok2`.* TO '<your_new_db_user>'@'localhost'; GRANT ALL ON `log2.* TO '<your_new_db_user>'@'localhost'; // To grant access for your webhost CREATE USER '<your_new_db_user>'@'<your webhost>' IDENTIFIED BY '<your_new_db_pass>'; GRANT ALL ON `ragnarok2`.* TO '<your_new_db_user>'@'<your webhost>'; GRANT ALL ON `log2`.* TO '<your_new_db_user>'@'<your webhost>'; FLUSH PRIVILEGES; exit cd ~/home/<NewUser>/Hercules2/sql-files/ mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < main.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < item_db.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < item_db2.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < mob_db.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < mob_db2.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < mob_skill_db.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < mob_skill_db2.sql mysql -u <your_new_db_user> -p<your_new_db_pass> log2 < logs.sql // add renewal db if you are running renewal mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < item_db_re.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < item_db2_re.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < mob_db_re.sql mysql -u <your_new_db_user> -p<your_new_db_pass> ragnarok2 < mob_skill_db_re.sql // add administrator mysql --user=root use ragnarok2; INSERT INTO `login` (`account_id`, `userid`, `user_pass`, `sex`, `email`,`group_id`) VALUES ('2000000', '<admin username>', '<admin_pass>', 'M','[email protected]',99);
  12. You can change the PORT, it will not conflict char-server.conf --------------------- char_configuration: { server_name: "New Server" inter: { char_ip: "server2 IP" login_ip: "localhost" char_port: 6122 login_port: 6901 } } login-server.conf --------------------- login_configuration: { inter: { login_port: 6901 } } map-server.conf --------------------- map_configuration: { inter: { map_port: 5122 char_ip: "localhost" char_port: 6122 map_ip: "New Server IP" } }
  13. open /conf/channels.conf and // on those channel to disable chsys: ( { /* Default Channels (available on boot) */ default_channels: { /* channel_name : channel_messages_color */ //main: "Orange" /* Available as #main */ //support: "Blue" /* Available as #support */ //trade: "Red" /* Available as #trade */ //offtopic: "Cyan" /* Available as #offtopic */ /* You may add as many channels as you like */ } /* Colors Available */
  14. i was hoping to see a READONLY channel. player can see message but can't be able to send message. its good for gm news and update channel
  15. just rightclick on the exe and chose "Run As Administrator"
  16. can you upload to mediafire or other filehosting alternative?
  17. its a new signboard feature shown on top of npc like kafra, tool dealer, weapon, armor dealer and guide. you can actually set your own icon like healer etc set at lua. available to newer client if im not mistaken. RO is getting better
  18. check the format of your import file. It should look like this: char-server.conf char_configuration: { server_name: "Chaos" inter: { char_ip: "your IP" login_ip: "localhost" char_port: 6121 login_port: 6900 } } map-server.conf map_configuration: { inter: { map_port: 5121 char_ip: "localhost" char_port: 6121 map_ip: "your IP" } }
  19. I hope to get this added, it is a very important to track and monitor cash movement of players case LOG_TYPE_REFINE: return '2'; // Refine case LOG_TYPE_OTHER: return 'X'; // Other case LOG_TYPE_CASH: return '$'; // Cash Points }
  20. its a must have feature i think.
  21. how do configure LOG DB to read from log database? i dont see any in the config pointing to log_db sir
×
×
  • Create New...

Important Information

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