astralprojection

Members
  • Content count

    152
  • Joined

  • Last visited

  • Days Won

    1

astralprojection last won the day on September 8 2016

astralprojection had the most liked content!

5 Followers

About astralprojection

  • Rank
    Advanced Member
  1. 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; }
  2. Hi Dastgir, i found an issue when player has auraset and uses @at, they will not show up, they are hidden.
  3. { 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.
  4. @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
  5. up
  6. here my plugin whobuy whosell mapmoblist noinvitation security
  7. its related here http://herc.ws/board/topic/14562-map-server-errors/
  8. got same issue . i send another report at bug tracker https://github.com/HerculesWS/Hercules/issues/1661
  9. 1. must have paypal account 2. must be able to revord/compile/edit skillfully recorder video of WOE. 3. must be available on Sat & Sun 9pm - 10pm Singapore Time. pls send me message.
  10. 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);
  11. 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" } }
  12. 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 */
  13. add: #include "common/sql.h"
  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"