Jump to content

Cyro

Members
  • Posts

    1138
  • Joined

  • Last visited

  • Days Won

    30

Everything posted by Cyro

  1. you can change/edit/remove them in System/Towninfo.lub ex: mapNPCInfoTable = { prontera = { { name = [=[Kafra Employee]=], X = 146, Y = 89, TYPE = 6, }, { name = [=[Kafra Employee]=], X = 150, Y = 35, TYPE = 6, }, { name = [=[Kafra Employee]=], X = 275, Y = 197, TYPE = 6, },
  2. Cyro

    no pub

    thats what they do @.@ - script NoChatVendPront -1,{ OnWhisperGlobal: if (!getgmlevel()) end; //<-------- check gm/player OnInit: setcell "prontera",1,1,312,392,cell_nochat,0; setcell "prontera",1,1,312,392,cell_novending,0; setcell "prontera",134,190,177,217,cell_nochat,1; setcell "prontera",82,200,124,207,cell_nochat,1; setcell "prontera",125,199,125,208,cell_nochat,1; setcell "prontera",126,198,126,209,cell_nochat,1; setcell "prontera",127,197,127,210,cell_nochat,1; setcell "prontera",128,196,128,211,cell_nochat,1; setcell "prontera",129,195,129,212,cell_nochat,1; setcell "prontera",130,194,130,213,cell_nochat,1; setcell "prontera",131,193,131,214,cell_nochat,1; setcell "prontera",132,192,132,215,cell_nochat,1; setcell "prontera",133,191,133,216,cell_nochat,1; setcell "prontera",148,231,163,268,cell_nochat,1; setcell "prontera",147,230,164,230,cell_nochat,1; setcell "prontera",146,229,165,229,cell_nochat,1; setcell "prontera",145,228,166,228,cell_nochat,1; setcell "prontera",144,227,167,227,cell_nochat,1; setcell "prontera",143,226,168,226,cell_nochat,1; setcell "prontera",142,225,169,225,cell_nochat,1; setcell "prontera",141,224,170,224,cell_nochat,1; setcell "prontera",140,223,171,223,cell_nochat,1; setcell "prontera",139,222,172,222,cell_nochat,1; setcell "prontera",138,221,173,221,cell_nochat,1; setcell "prontera",137,220,174,220,cell_nochat,1; setcell "prontera",136,219,175,219,cell_nochat,1; setcell "prontera",135,218,176,218,cell_nochat,1; setcell "prontera",187,200,229,207,cell_nochat,1; setcell "prontera",186,199,186,208,cell_nochat,1; setcell "prontera",185,198,185,209,cell_nochat,1; setcell "prontera",184,197,184,210,cell_nochat,1; setcell "prontera",183,196,183,211,cell_nochat,1; setcell "prontera",182,195,182,212,cell_nochat,1; setcell "prontera",181,194,181,213,cell_nochat,1; setcell "prontera",180,193,180,214,cell_nochat,1; setcell "prontera",179,192,179,215,cell_nochat,1; setcell "prontera",178,191,178,216,cell_nochat,1; setcell "prontera",148,130,163,176,cell_nochat,1; setcell "prontera",147,177,164,177,cell_nochat,1; setcell "prontera",146,178,165,178,cell_nochat,1; setcell "prontera",145,179,166,179,cell_nochat,1; setcell "prontera",144,180,167,180,cell_nochat,1; setcell "prontera",143,181,168,181,cell_nochat,1; setcell "prontera",142,182,169,182,cell_nochat,1; setcell "prontera",141,183,170,183,cell_nochat,1; setcell "prontera",140,184,171,184,cell_nochat,1; setcell "prontera",139,185,172,185,cell_nochat,1; setcell "prontera",138,186,173,186,cell_nochat,1; setcell "prontera",137,187,174,187,cell_nochat,1; setcell "prontera",136,188,175,188,cell_nochat,1; setcell "prontera",135,189,176,189,cell_nochat,1; setcell "prontera",134,190,177,217,cell_novending,1; setcell "prontera",82,200,124,207,cell_novending,1; setcell "prontera",125,199,125,208,cell_novending,1; setcell "prontera",126,198,126,209,cell_novending,1; setcell "prontera",127,197,127,210,cell_novending,1; setcell "prontera",128,196,128,211,cell_novending,1; setcell "prontera",129,195,129,212,cell_novending,1; setcell "prontera",130,194,130,213,cell_novending,1; setcell "prontera",131,193,131,214,cell_novending,1; setcell "prontera",132,192,132,215,cell_novending,1; setcell "prontera",133,191,133,216,cell_novending,1; setcell "prontera",148,231,163,268,cell_novending,1; setcell "prontera",147,230,164,230,cell_novending,1; setcell "prontera",146,229,165,229,cell_novending,1; setcell "prontera",145,228,166,228,cell_novending,1; setcell "prontera",144,227,167,227,cell_novending,1; setcell "prontera",143,226,168,226,cell_novending,1; setcell "prontera",142,225,169,225,cell_novending,1; setcell "prontera",141,224,170,224,cell_novending,1; setcell "prontera",140,223,171,223,cell_novending,1; setcell "prontera",139,222,172,222,cell_novending,1; setcell "prontera",138,221,173,221,cell_novending,1; setcell "prontera",137,220,174,220,cell_novending,1; setcell "prontera",136,219,175,219,cell_novending,1; setcell "prontera",135,218,176,218,cell_novending,1; setcell "prontera",187,200,229,207,cell_novending,1; setcell "prontera",186,199,186,208,cell_novending,1; setcell "prontera",185,198,185,209,cell_novending,1; setcell "prontera",184,197,184,210,cell_novending,1; setcell "prontera",183,196,183,211,cell_novending,1; setcell "prontera",182,195,182,212,cell_novending,1; setcell "prontera",181,194,181,213,cell_novending,1; setcell "prontera",180,193,180,214,cell_novending,1; setcell "prontera",179,192,179,215,cell_novending,1; setcell "prontera",178,191,178,216,cell_novending,1; setcell "prontera",148,130,163,176,cell_novending,1; setcell "prontera",147,177,164,177,cell_novending,1; setcell "prontera",146,178,165,178,cell_novending,1; setcell "prontera",145,179,166,179,cell_novending,1; setcell "prontera",144,180,167,180,cell_novending,1; setcell "prontera",143,181,168,181,cell_novending,1; setcell "prontera",142,182,169,182,cell_novending,1; setcell "prontera",141,183,170,183,cell_novending,1; setcell "prontera",140,184,171,184,cell_novending,1; setcell "prontera",139,185,172,185,cell_novending,1; setcell "prontera",138,186,173,186,cell_novending,1; setcell "prontera",137,187,174,187,cell_novending,1; setcell "prontera",136,188,175,188,cell_novending,1; setcell "prontera",135,189,176,189,cell_novending,1; end; } prontera,130,195,1 script NoChatVendPront -1,{ OnWhisperGlobal: if (getgmlevel() != 99) // <------- check gm group end; OnInit: setcell "prontera.gat",140,93,167,74,cell_nochat,1; setcell "prontera.gat",140,93,167,74,cell_novending,1; end; }
  3. Cyro

    no pub

    You can actually just Google this question
  4. you can configure channels in config/channels.conf to make your players force some channels use this script - script autojoin -,{ OnPCLoginEvent: atcommand "@join #main"; atcommand "@join #support"; atcommand "@join #trade"; end; } you control channels using @channel command in game
  5. can you post a screen shot how you are trying to add vote for points sites ?
  6. you have related sql tables in your db? ie cp_v4p_sites cp_v4p_votelogs cp_v4p_voters
  7. You can add them in voteforpints page by loging in with admin account in your fluxcp
  8. there is stat limit, once you reach 32k+ ( i dont exactly remember the number ) all stat bonus will have no effect ie with less then 32k agi you will get your server max aspd , with 32k + it will turn 167 which is default with 0 agi
  9. i am not sure if this is the one you are looking for, but this the file name in wav folder in order to change the sound effect when you hit enter while logging in
  10. You can change styles range from conf/battle/client.conf // Valid range of dyes and styles on the client.min_hair_style: 0max_hair_style: 27 <<<Change max here min_hair_color: 0max_hair_color: 8 <<<Change max here min_cloth_color: 0max_cloth_color: 4 <<<Change max here
  11. Cyro

    Old times

    moved to proper section perhaps you can start from here https://rathena.org/board/rules/ https://github.com/rathena/rathena/wiki
  12. https://github.com/zackdreaver
  13. you can check them in your sql db, loginlog,picklog etc if you are using flux you can also check them in ralogs in admin panel
  14. try this credits to kurofly morocc,155,99,4 script party_dungeon_warper 96,{ set .@nom$ , "["+strnpcinfo(0)+"]"; mes .@nom$; mes "Hello there, I'm in charge of managing the entrance to "+.dungeon_name$+"."; next; mes .@nom$; mes "I can only give access to a party of ^0000ff"+.min_party_size+" players or more^000000."; mes "Only the ^0000ffparty leader^000000 can ask for the entrance access."; mes ""; mes "^ff0000It costs "+.amount+" "+getitemname(.item)+" to reserve an access.^000000"; next; mes .@nom$; if (.Dungeon) { //someone is in the dungeon mes "A group of "+.PlayerCount+" players has currently access to the dungeon"; mes .AlivePlayerCount+" of them are still alive"; mes "^0000ff"+.WaitingCount+"^000000 group(s) are waiting for the entrance access."; } else mes "No one is currently in the dungeon."; mes ""; mes "What do you want to do?"; getpartymember getcharid(1),1 ; getpartymember getcharid(1),2; for ( set .@i , 0 ; .@i < $@partymembercount ; set .@i , .@i + 1 ) if ( isloggedin( $@partymemberaid[.@i], $@partymembercid[.@i] ) ) set .@count_online , .@count_online + 1; set .@DungeonReserved , 0; for (set .@i , 0 ; .@i < getarraysize(.PartyIDs) ; set .@i , .@i + 1) if (getcharid(1) == .PartyIDs[.@i]) set .@DungeonReserved , 1; switch(select("Enter the dungeon:Reserve access:Leave")) { next ; mes .@nom$; case 1: if (!.@DungeonReserved) { //the dugeon isn't reserved yet mes "You didn't reserve access yet."; mes "Please reserve access before entering the dungeon."; close; } else if (.PartyIDs[0] != getcharid(1)) { //dungeon reserved but in the waiting room mes "You are in the waiting list sir, you cannot enter the dungeon yet."; mes "Your position in the waiting list : ^0000ff"+callsub(S_Position,getcharid(1))+"^000000."; mes "You will be informed when you can enter the dungeon."; close; } else if (@dungeon == 1) { //player already died in the dungeon mes "You already died in the dungeon and so cannot enter it again."; close; } else if (@warped == 1) { //player warped out of the dungeon mes "You warped out of the dungeon and so cannot enter it again."; close; } set @warped , 1; set .PlayerCount , .@count_online; set .EnteredPlayers , .EnteredPlayers + 1 ; set .AlivePlayerCount , .AlivePlayerCount + 1; warp .warpzone$,.warpx,.warpy; end; case 2: if (.@DungeonReserved) { //has already reserved access mes "You already reserved access to the dungeon."; mes "Your position in the waiting list : ^0000ff"+callsub (S_Position,getcharid(1))+"^000000."; if (callsub (S_Position,getcharid(1))) mes "You will be informed when you can enter the dungeon."; close; } else if (.@count_online < .min_party_size) { //not enough players online or not in a party mes "You need a party of "+.min_party_size+" players online to reserve the dungeon."; close; } else if (getpartyleader(getcharid(1),1) != getcharid(3)) { //not party leader mes "Only the party leader can reserve access to the dungeon."; close; } else if (getarraysize(.PartyIDs)) { //people already waiting setarray .PartyIDs[getarraysize(.PartyIDs)] , getcharid(1); mes "You successfully reserved the entrance."; mes "Your position in the waiting list : ^0000ff"+callsub (S_Position,getcharid(1))+"^000000."; mes "You will be informed when you can enter the dungeon."; close; } if (countitem(.item) < .amount) { mes "You don't have "+.amount+" "+getitemname(.item)+"."; mes "^ff0000It costs "+.amount+" "+getitemname(.item)+" to reserve an access.^000000"; close; } delitem .item,.amount; set .Dungeon , 1; setarray .PartyIDs[0] , getcharid(1); mes "^ff0000You can now enter the dungeon.^000000"; mes "If none of the party members enter the dungeon before "+.delay+" minutes, the dungeon will be automatically closed."; initnpctimer ; set .TimeDelay , 0; getpartymember getcharid(1), 1; getpartymember getcharid(1), 2; for ( set .@i , 0 ; .@i < $@partymembercount ; set .@i , .@i + 1 ) { if (attachrid($@partymemberaid[.@i])) { set @dungeon , 0 ; set @warped , 0; } } end; case 3: end; } OnTimer300000: set .TimeDelay , 1; if (.AlivePlayerCount == 0) callsub S_NextParty; end; S_Position: for (set .@i , 0 ; .@i < getarraysize(.PartyIDs) ; set .@i , .@i + 1) if (.PartyIDs[.@i] == getarg(0)) set .@j , .@i; return .@j; S_CheckCount: debugmes "checkcount"; if (.AlivePlayerCount == 0 || (.Delay && .AlivePlayerCount == .EnteredPlayers)) callsub S_NextParty; return; S_NextParty: addrid(2,0,.PartyIDs[0]); announce "Everyone is dead, you lost access to the dungeon."; deletearray .PartyIDs[0],1; if (.PartyIDs[0]) { detachrid ; addrid(2,0,.PartyIDs[0]); announce "Your party can now enter the dungeon.",bc_self; announce "Please enter it before a "+.delay+" minutes delay, else you will loose access.",bc_self; initnpctimer; set .TimeDelay , 0; } end; OnPCDieEvent: getmapxy(.@map$,.@x,.@y,0); if (.@map$ == .warpzone$) { set @dungeon , 1 ; set .AlivePlayerCount , .AlivePlayerCount - 1 ; warp .exitzone$,.exitx,.exity ; callsub S_CheckCount; } end; OnPCLogoutEvent: //if player logs out in the dungeon, he's counted as dead getmapxy(.@map$,.@x,.@y,0); if (.@map$ == .warpzone$) { set @dungeon = 1 ; set .AlivePlayerCount , .AlivePlayerCount - 1 ; callsub S_CheckCount; } end; OnPCLoginEvent: //if player logs in in the dungeon, he's warped out of it getmapxy(.@map$,.@x,.@y,0); if (.@map$ == .warpzone$) warp .exitzone$,.exitx,.exity; end; OnInit: //===============================set this up========================================== set .dungeon_name$ , "the Fire dungeon"; set .item , 671; //item required (gold coin) set .amount , 1; //amount required set .min_party_size , 1; //minimum amount of players needed to enter the dungeon set .delay , 5; //delay after wich dungeon is closed if all the players in it are dead (in minutes) set .warpzone$ , "mus_arena01" ; .warpx = 62 ; .warpy = 48; //entrance warp coordinates set .exitzone$ , "mus_arena03" ; .exitx = 116 ; .exity = 193; //exit coordinates //=============================end of user setup====================================== mapwarp .warpzone$,.exitzone$,.exitx,.exity; set .Dungeon , 0 ; set .PlayerCount , 0 ; set .AlivePlayerCount , 0 ; set .WaitingCount , 0; setarray .PartyIDs[0],0; }
×
×
  • Create New...