Jump to content

Cyro

Members
  • Posts

    1138
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by Cyro

  1. Cyro

    Ne

    yes! how u add all other npc's to your server? add this in that same way
  2. Cyro

    Ne

    add it as a npc script in ur npc folder
  3. Cyro

    Ne

    - script autojoin -,{ OnPCLoginEvent: atcommand "@join #main"; atcommand "@join #support"; atcommand "@join #trade"; end; }
  4. Players won't be annoyed if it pop-up like that? Everytime? I think you can use ring sec shield which free and working good as anti cheat This is not proper answer for your question.. but just suggesting
  5. make sure you patched/replaced correct files in your grf with correct path
  6. nope bro thats how you need to use it, whisper your npc like npc:sample and if you want to give all online player user all itemid quantity, or all#itemid#quantity
  7. If you are asking for new mount's like lion/frog use halter lead, it will give mount's to every job.. item id 12622
  8. // [npc:Sample]map#512#10 // [npc:Sample]all#512#123
  9. Yes! Make sure to place trans job changer without 3rd jobs if u place one! Else only trans jobs quest's only available after disable renual And you can change job to 3rd job with only gm commands
  10. No offence... He got Miss leaded filezilla set to the port FTP not sftp which new people may not know... Even wincp got FTP profile Hope u get my point ,:)
  11. Full classic means to be a particular episode? if yes you need it manually client side/server side if u want to set your server to pre-re goto src/map/config/renewal.h //#define RENEWAL << Comment
  12. FTP client for webhost dude... Don't misslead new people
  13. You must not use FTP like file Zilla .. u must use wincp which is sftp The script I gave you working fyn! The error says I must give prize to all or only the map??
  14. you can use @item and add give this consumable item for event points/votepoints
  15. 3002,Ecoin,Event Coin,0,5000,,40,,,,,0xFFFFFFFF,7,2,,,,,,{ set #EVENTPOINTS,#EVENTPOINTS+10;specialeffect2 590; dispbottom "You got 10 Event points, now"+strcharinfo(0)+" have "+#EVENTPOINTS+" Eventpoints in Total";},{},{}
  16. //credits to emistry // usage : // [npc:Sample]map#512#10 // [npc:Sample]all#512#123 - script Sample -1,{ OnWhisperGlobal: if( getgmlevel() >= 99 ){ // check map if( @whispervar0$ == "all" ) set .@type$,""; else if( @whispervar0$ == "map" ) set .@type$,strcharinfo(3); else { dispbottom "Error, pick 'map' or 'all' "; end; } // check item set .@itemid,atoi( @whispervar1$ ); set .@amount,atoi( @whispervar2$ ); if( getitemname( .@itemid ) == "null" || .@amount < 1 ){ dispbottom "Enter valid item id and amount."; } set .@self_id,getcharid(3); query_sql( "SELECT COUNT(`account_id`) FROM `char` WHERE `online` = 1 ", .@total ); while( .@count < .@total ){ query_sql( "SELECT `account_id`,`name` FROM `char` WHERE `online` = 1 ORDER BY `account_id` LIMIT 128 OFFSET "+.@offset, .@aid,.@name$ ); set .@i,0; set .@size,getarraysize( .@aid ); while( .@i < .@size ){ if( .@aid[.@i] != .@self_id ){ if( .@type$ != "" ){ getmapxy( .@map$,.@x,.@y,0,.@name$[.@i] ); if( .@map$ == .@type$ ){ getitem .@itemid,.@amount,.@aid[.@i]; set .@gave,.@gave + 1; } }else{ getitem .@itemid,.@amount,.@aid[.@i]; set .@gave,.@gave + 1; } } set .@count,.@count + 1; set .@i,.@i + 1; } set .@offset,.@offset + .@size; deletearray .@aid,.@size; deletearray .@name$,.@size; } dispbottom "Gave "+.@amount+" x "+getitemname( .@itemid )+" to "+.@gave+" Player(s)."; } end; } to add this npc to you server download wincp login using your server details and add this file to your custom folder (or what ever folder you using) and also add your npc path in scripts_custom.conf then do reloadscript/restart server/loadnpc
  17. you mentioned you using amazon AWS they provide elastic ip's for vps anyways i still wana know you have done checking your client version in mmo.h?
  18. and mmo.h? recompiled after disabling PACKET_OBFUSCATION ? may be try using your elastic ip in your client.xml instead of using dns
  19. try disable PACKET_OBFUSCATION in src/config/core.h by commenting out #define PACKET_OBFUSCATION and recompile check your client version in mmo.h and also check your firewall, check your ports are open here is a link to check
  20. You tried with normal account instead of gm correcter ?
  21. Try reinstalling the voteforpoints! need any help just pm me here
  22. It would be helpful if you post your item_db.txt for this items
×
×
  • Create New...