Jump to content

Bradium

Members
  • Posts

    18
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling
  • Location
    Below zero

Recent Profile Visitors

1755 profile views

Bradium's Achievements

Poring

Poring (1/15)

0

Reputation

  1. I think he meant something like +3 to dex or stuff without having a script; if that's the case you can sell orbs instead.
  2. This is confusing, how can a local pc ddos it self? :3
  3. So all of the hardwork running and compiling a server boils down to browser -.-'
  4. Bradium

    Hi rA.

    Hi, I have a noob problem coz I tried using this npc's http://mysterious-project.googlecode.com/svn/trunk/npc/ Its myterious project and I run it on eA; coz it says something that i'll run in eA. But almost all of his script doesnt run in eA. Any help?
  5. Works like a champ! Thanks.
  6. I actually maxed it out. I dont know what is the problem though in other maps like jupe_ele, abbey03 i've fixed it up but not in bat_room.
  7. Hi all, I wanted a zoomed out viewpoint table in bat_room coz its not by default in viewpointtable. or Something that doesnt zoom me in at bat_room map. How do I do this?
  8. Hi capuche, Thank you very much for being so kind but this script below is what I really wanted with a twist. Could you add a specific area for the cashpoints to run? And if the player goes out of that area he/she will not gonna get any cashpoints. Also, the reason why I wanted this script coz it prevents people getting cashpoint while they're afk. - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { dispbottom "The hourly points event stopped because you were vending / chatting. Please relog if you wish to start again."; stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 99999999) { dispbottom "The hourly points event stopped because you were idle. Please relog if you wish to start again."; stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 1){ set @minute,0; set .@point_amt, 1; //Points to get every hour (default: 10) set #CASHPOINTS, #CASHPOINTS + .@point_amt; dispbottom "You received "+.@point_amt+" Cashpoint by staying ingame for a minute!"; dispbottom "Current Balance = "+#CASHPOINTS+" Cashpoints"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 12 hours consecutive if(@consecutive_hour == 60) { set @consecutive_hour,0; set .@cpoint_amt, 20; //Points to get for 12 Consecutive hours (default: 50) set #CASHPOINTS, #CASHPOINTS + .@cpoint_amt; dispbottom "You receive "+.@cpoint_amt+" Cashpoints by staying ingame for an hour!"; dispbottom "Current Balance = "+#CASHPOINTS+" Cashpoints"; } stopnpctimer; initnpctimer; end; }
  9. parse_line: expect command, missing function name or calling undeclared function 123 : { 124 : OnInit: 125 : setarray .@map_name$, "jupe_ele"; // your afk map 126 : * 127 : '.'compile_map$ = implode( .@map_name$, "|" ); 128 : .size = getarraysize( .@map_name$ ); 129 : while ( .@i < .@size ) { 130 : setmapflag .@map_name$[.@i],mf_loadevent; 131 : .@i++; 132 : }
  10. Bumping! Please also add if he / she is out of the map the cashpoints should also be stopped adding.
  11. Hello, Can anyone help me do this? People will warp through 'warper' to go to a specific AFK map; in there he gets 1 cashpoint per 3 minutes. (Everyone will only get cashpoint from that map) - script hourlypoints -1,{ //--Start of the Script OnPCLoginEvent: attachnpctimer ""+strcharinfo(0)+""; initnpctimer; end; if(@map$ == "jupe_ele") { OnTimer30000: //Check if Vending (normal or @at) if(checkvending() >= 1 || checkchatting() == 1) { dispbottom "The hourly points event stopped because you were vending / chatting. Please relog if you wish to start again."; stopnpctimer; end; } //Check if Idle getmapxy( .@map$, .@x, .@y, 0 ); if(@map$ == .@map$ && @x == .@x && @y == .@y) { set @afk, @afk + 1; } //If move timer resets else { set @afk, 0; } set @map$, .@map$; set @x, .@x; set @y, .@y; //Idle Check for 5 Minutes if(@afk == 99999999) { dispbottom "The hourly points event stopped because you were idle. Please relog if you wish to start again."; stopnpctimer; end; } end; OnTimer60000: set @minute, @minute + 1; //Check for 1 Minute if(@minute == 1){ set @minute,0; set .@point_amt, 1; //Points to get every hour (default: 10) set #CASHPOINTS, #CASHPOINTS + .@point_amt; dispbottom "You received "+.@point_amt+" Cashpoint by staying ingame for a minute!"; dispbottom "Current Balance = "+#CASHPOINTS+" Cashpoints"; set @consecutive_hour, @consecutive_hour + 1; } //Check for 12 hours consecutive if(@consecutive_hour == 60) { set @consecutive_hour,0; set .@cpoint_amt, 20; //Points to get for 12 Consecutive hours (default: 50) set #CASHPOINTS, #CASHPOINTS + .@cpoint_amt; dispbottom "You receive "+.@cpoint_amt+" Cashpoints by staying ingame for an hour!"; dispbottom "Current Balance = "+#CASHPOINTS+" Cashpoints"; } stopnpctimer; initnpctimer; end; } else {} }
  12. How does that end the BG script? o.O" It has to be when you get out of the BG, you also end your bg_destroy $@Conquest_id1; set $@Conquest_id1, 0; So when you login you have OnEnterBG: set $@Conquest_id1, ------> right?(From different BG Script) when the BG ends it will end it like bg_destroy $@Conquest_id1; set $@Conquest_id1, 0; So basically when two client with the same IP that queue's on BG; one random client will get kicked, now one will remain in BG. The one that gets kicked will end the bg bg_destroy $@Conquest_id1; set $@Conquest_id1, 0; The other one left will still continue doing BG. - Hope this clears everything out.
  13. What if he goes out of the area? the points is still adding. Hi, I'm sorry im just stucked on this. So people gets points from afk'ing. from certain map. But what if he goes out from 'prontera' for instance? How'd I do that from script?
  14. I have this problem regarding my BG NPC that auto-kicks player(s) that has the same IP. It boils down to this, 2 Players queing for BG on different sides (Red,Blue) , then the BG starts and by the use of this script OnEnterBG: set $@Conquest_id1, OnEnterBG: set $@Conquest_id2, - Ends script like this bg_destroy $@Conquest_id1; set $@Conquest_id1, 0; bg_destroy $@Conquest_id2; set $@Conquest_id2, 0; they get into the bg room, but the script that blocks 2 same IP on the same map removed either of the two from the map. And there my question is, how do I check on who got kicked from the map? Since npc autokicks players more than 1 IP on the same map?
×
×
  • Create New...