Jump to content

Linux Support

Explore Questions

There are no popular questions to show right now

  1. 0 votes
    0 answers
  2. 0 votes
    3 answers
  3. 0 votes
    5 answers
  4. 0 votes
    3 answers
  5. 0 votes
    9 answers

86 questions in this forum

  1. 0 votes
    0 answers
  2. 0 votes
    3 answers
  3. 0 votes
    5 answers
  4. fluxcp help me please!!!

    0 votes
    2 answers
  5. 0 votes
    3 answers
  6. 0 votes
    9 answers
  7. No such directory

    0 votes
    1 answer
  8. Debian Jessie or Stretch

    0 votes
    1 answer
  9. Error mysqlib starting the server

    0 votes
    0 answers
  10. Setup Proxy in Server

    0 votes
    2 answers
  11. Winscp

    0 votes
    1 answer
  12. 0 votes
    0 answers
  13. Linux GRF editor?

    0 votes
    1 answer
  14. Q> on make sql command

    0 votes
    4 answers
  15. Error Compiling Emulator

    0 votes
    11 answers
  16. 0 votes
    4 answers
  17. 0 votes
    3 answers
  18. 0 votes
    3 answers
  19. 0 votes
    1 answer
  20. 0 votes
    17 answers
  21. 0 votes
    3 answers
  22. 0 votes
    1 answer
  23. [help] GCC outdated

    0 votes
    3 answers
  24. 0 votes
    8 answers
  25. 0 votes
    2 answers
  • Featured Topics

  • Latest Commits

  • Topics

  • Posts

    • If anyone gets interested with this, i got alternate solution i used callfunc heres the script //== Starter Scroll Buffs ====================================== function script R_Scroll1 { specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10; specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; end; } function script R_Scroll100 { specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10; specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; specialeffect(EF_CONCENTRATION, AREA, playerattached()); sc_start SC_CONCENTRATION,240000,10; end; } function script R_Scroll200 { specialeffect(EF_INCAGILITY, AREA, playerattached()); sc_start SC_INC_AGI,240000,10; specialeffect(EF_BLESSING, AREA, playerattached()); sc_start SC_BLESSING,240000,10; specialeffect(EF_CONCENTRATION, AREA, playerattached()); sc_start SC_CONCENTRATION,240000,10; specialeffect(EF_ASSUMPTIO, AREA, playerattached()); sc_start SC_ASSUMPTIO,200000,10; end; } item_db2 { Id: 30000 AegisName: "Level200BuffScroll" Name: "Level 200 All-in-One Buff Scroll" Type: "IT_USABLE" Buy: 2 Weight: 10 EquipLv: 200 Trade: { nodrop: true notrade: true noselltonpc: true nocart: true nogstorage: true nomail: true noauction: true } Nouse: { sitting: true } Script: <" callfunc "R_Scroll200",1; "> },  
    • Hi.   That's a training dummy. 😄 Spawn is located in npc/re/mobs/towns.txt. //== Prontera, Training Dummy Area ========================= prontera,251,77,0,0 monster Lv 50 2409,1,5000,0,0 prontera,259,77,0,0 monster Lv 50 2409,1,5000,0,0 prontera,251,66,0,0 monster Lv 100 2410,1,5000,0,0 prontera,259,66,0,0 monster Lv 100 2410,1,5000,0,0 prontera,251,55,0,0 monster Lv 150 2411,1,5000,0,0 prontera,259,55,0,0 monster Lv 150 2411,1,5000,0,0     ~Kenpachi
    • Anyone i know this is too much script, may I just know how can I connect when the Thanatos Dies and Thatnatos Fragment availability to the script so the npc will announce? Thank you!
    • Thank you for this. I will just make separate item scroll then 🤩
    • I have this working security script, but I want to make like it will dispbottom the player he has security ON or OFF instead of forcing player to setup security once he/she logged in to the game.. On this script, you have choices as GM to force player to setup security to their account which it will always pop up a npc window for setting up security   I just want that even i don't force the player to setup their @security. They will know by getting dispbottom that their Security is ON or OFF. also this makes the player knows that the server has security features. For me, npc pop up for force setup security is a very annoying. heres the script i used. /* By Dastgir/Hercules Use Plugin too along with this script(Found in https://github.com/dastgir/HPM-Plugins) */ - script Security FAKE_NPC,{ OnInit: bindatcmd("security",strnpcinfo(0)+"::OnSecurity",0,99); /* Config */ .max_attempt = 5; //3 Times Wrong Attempt = Ban. .ban_hour = 2; //Hours to ban .allowed = 1|2|4|8|64|128|512|1024|2048|4096; //Allowed Settings.. end; OnPCLoginEvent: if ($security){ if (!#security){ callsub OnPlayerMenu; } } close; OnSecurity: if (getgmlevel()){ mes "[^FFA500 Security System ^000000]"; mes "Hello GM, How may I help you?"; callsub OnGMMenu; end; } OnPlayerMenu: // Don't Change Order. setarray [email protected]$,"Can't Drop Item", // 1 "Can't receive Trade Requests", // 2 "Can't send Trade Request", // 4 "Can't open Guild Storage", // 8 "Can't take item from guild storage", // 16 "Can't add item to guild storage", // 32 "Can't sell items", // 64 "Can't use Vending", // 128 "Can't delete items by any means", // 256 "Can't buy items", // 512 "Can't Send Guild Invite", // 1024 "Can't Receive Guild Invite", // 2048 "Can't Leave the guild"; // 4096 while (1){ mes "[^FFA500 Security System ^000000]"; mes "Security Status: "+ ((#security>0)?"^00FF00On^000000":"^FF0000Off^000000"); mes "Status: "; for ([email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]++){ [email protected] = (1<<[email protected]); if (.allowed&[email protected]) mes [email protected]$[[email protected]] + " - "+ ((#secure_opt&[email protected])?"^00FF00On^000000":"^FF0000Off^000000"); } switch(select("Info",((#security>0)?"Dea":"A")+"ctivate the Security","Settings","Close")){ case 4: close; case 3: next; mes "[^FFA500 Security System ^000000]"; if (!#security){ mes "^FF0000You don't have security enabled^000000"; next; break; } mes "Enter your ^FF0000OLD^000000 Security Code"; mes "^FF0000- Wrong Code more than "+ .max_attempt +" times can result into ban.^000000"; mes "Chances Left: "+ (.max_attempt-security_maxtry); input [email protected]; next; mes "[^FFA500 Security System ^000000]"; if (#secure_code != [email protected]){ mes "Wrong Code..."; security_maxtry++; if (security_maxtry >= .max_attempt){ atcommand "@ban +"+.ban_hour+"h \""+strcharinfo(0)+"\""; //Ban the Player for 1 hour. security_maxtry = 0; //Reset After tha Ban end; } close; } next; security_maxtry = 0; mes "[^FFA500 Security System ^000000]"; mes "Choose Restrictions to Enable/Disable"; [email protected]$ = "^00FF00Enable All^000000:^FF0000Disable All^000000:"; [email protected] = 0; for ([email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]++){ [email protected] = (1<<[email protected]); if (.allowed&[email protected]){ [email protected][[email protected]] = [email protected]; [email protected]++; [email protected]$ = [email protected]$[[email protected]] + " - "+ ((#secure_opt&[email protected])?"^00FF00On^000000":"^FF0000Off^000000"); [email protected]$ = [email protected]$ + "" + [email protected]$ +":"; mes [email protected]$; } } [email protected]_menu = select([email protected]$)-1; next; if ([email protected]_menu == 1){ mes "[^FFA500 Security System ^000000]"; if (!#secure_opt){ mes "You already have all Settings disabled."; next; break; } mes "Are you Sure you want to disable all?"; if (select("Yes:No..") == 2){ next; mes "[^FFA500 Security System ^000000]"; mes "As you wish.."; next; break; } next; mes "[^FFA500 Security System ^000000]"; mes "All Settings Disabled"; #secure_opt = 0; next; break; } else if ([email protected]_menu == 0){ mes "[^FFA500 Security System ^000000]"; if (#secure_opt >= .allowed){ mes "You already have all Settings enabled."; next; break; } mes "Are you Sure you want to enable all?"; if (select("Yes:No..") == 2){ next; mes "[^FFA500 Security System ^000000]"; mes "As you wish.."; next; break; } next; mes "[^FFA500 Security System ^000000]"; mes "All Settings Enabled"; #secure_opt = .allowed; next; break; } [email protected]_menu -= 2; [email protected] = [email protected][[email protected]_menu]; mes "[^FFA500 Security System ^000000]"; mes [email protected]$[[email protected]]; mes "Are you sure you want to "+ ((#secure_opt&(1<<[email protected]))?"Disable":"Enable") +" this?"; if (select("Yes:No..") == 2){ next; mes "[^FFA500 Security System ^000000]"; mes "As you wish.."; next; break; } next; mes "[^FFA500 Security System ^000000]"; mes "Setting "+ ((#secure_opt&(1<<[email protected]))?"Disabled":"Enabled"); if (#secure_opt&(1<<[email protected])) #secure_opt -= 1<<[email protected]; else #secure_opt += 1<<[email protected]; next; break; case 2: next; mes "[^FFA500 Security System ^000000]"; if (#security){ mes "Enter your ^FF0000OLD^000000 Security Code"; mes "^FF0000- Wrong Code more than "+ .max_attempt +" times can result into ban.^000000"; mes "Chances Left: "+ (.max_attempt-security_maxtry); input [email protected]; next; mes "[^FFA500 Security System ^000000]"; if (#secure_code != [email protected]){ mes "Wrong Code..."; security_maxtry++; if (security_maxtry >= .max_attempt){ atcommand "@ban +"+.ban_hour+"h \""+strcharinfo(0)+"\""; //Ban the Player for 1 hour. security_maxtry = 0; //Reset After tha Ban end; } close; } mes "Security Deactivated."; #security = 0; security_maxtry = 0; close; } mes "Insert your ^00FF00NEW^000000 Security Code"; mes "^FF0000- Must be 4-8 Digits^000000"; mes "^FF0000- Only numerics are allowed(0-9)^000000"; mes "^FF0000- Don't use 0 in beginning of security code^000000"; input [email protected]; next; mes "[^FFA500 Security System ^000000]"; if ([email protected] < 1000 || [email protected] > 99999999){ mes "Security code must be of 4-8 digits."; next; break; } mes "^00FF00 Re-insert the Security Code ^000000"; input [email protected]2; next; mes "[^FFA500 Security System ^000000]"; if ([email protected] != [email protected]){ mes "Security Code Mismatch.."; next; break; } mes "Security Code Set"; #secure_code = [email protected]; #security = 1; next; break; case 1: next; mes "[^FFA500 Security System ^000000]"; mes "Security Code can be of 4-8 Digits."; mes "When Security Code is enabled, you can do following settings as a security step:"; for ([email protected] = 0; [email protected] < getarraysize([email protected]$); [email protected]++){ [email protected] = (1<<[email protected]); if (.allowed&[email protected]) mes "^FF0000- "+ [email protected]$[[email protected]] +"^000000"; } next; break; } } end; OnGMMenu: switch(select("Player Menu: Settings")){ case 1: next; callsub OnPlayerMenu; end; case 2: next; mes "[^FFA500 Security System ^000000]"; mes "Force Player to set @security?"; mes "Status: "+ (($security>0)?"^00FF00On^000000":"^FF0000Off^000000"); [email protected] = select((($security>0)?"^00FF00Disable^000000":"^FF0000Enable^000000"),"Cancel"); if ([email protected] == 2) close; next; mes "[^FFA500 Security System ^000000]"; if ($security) $security = 0; else $security = 1; mes "Force Security Setting Set."; close; } end; } Thank you!
  • Download Statistics

    • Files
      435
    • Comments
      121
    • Reviews
      242

    Latest File
    By Naruto

    3    0

×
×
  • Create New...

Important Information

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