Re: [Release] Super Info NPC
Re: [Release] Super Info NPC
It's just an npc that tells stuff about your server :/
Re: [Release] Super Info NPC
Posted a screenshot so you can understand what it is. And can't you analyze a script?
Re: [Release] Super Info NPC
LOL, what a noob script...
Here, I'll fix it up for ya
Code:
var status = -1;
function start()
{
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == 1)
status++;
if (status == 0) {
cm.sendSimple("#bWelcome to BeamMS V.62, I am the personal helper NPC. What do you need? \b\r\n#L0#What are the server rates?\n\#l\b\r\n#L1#Who are the Gms of this server?\n\#l\b\r\n#L2#What are some of the new updates?\n\#l\b\r\n#L3#Where are all the NPCS in the Fm at?\n\#l\b\r\n#L4#What are some of the features to the server?\n\#l")
} else if (status == 1) {
if (selection == 0) {
cm.sendOk("#b Server Rates\r\n\#i1302034 \r\n\ Exp - " + cm.getPlayer().getClient().getChannelServer().getExpRate() + " \r\n\#i1302034 \r\n\ Meso - " + cm.getPlayer().getClient().getChannelServer().getMesoRate() + "\r\n\#i1302034 \r\n\ Drop -" + cm.getPlayer().getClient().getChannelServer().getDropRate());
} else if (selection == 1) {
cm.sendOk("#r Official Gm List\r\n\#i1000009 \r\n\ Retard - Owner \r\n\#i1000009 \r\n\ James - Co Owner \r\n\#i1000009 \r\n\ Aaron - Gm \r\n\#i1000009 \r\n\ Ruski - Gm");
} else if (selection == 2) {
cm.sendOk("#d Updates December 31st\r\n\#i2000005 \r\n\ Pet Shop Added \r\n\#i2000005 \r\n\ Player Hangouts Fixed \r\n\#i2000005 \r\n\ Bug Report System Added to Website \r\n\#i2000005 \r\n\ Non-Hamachi Coming out soon \r\n\#i2000005 \r\n\ Updating to 24/7 Server");
} else if (selection == 3) {
cm.sendOk("#k Where to find all the NPCS\r\n\#i1092001 \r\n\ Talk to Shanks in the free market for the all in one Npc selection menu");
} else if (selection == 4) {
cm.sendOk("#r Features List\r\n\#i5021005 \r\n\ PvP Working \r\n\#i5021005 \r\n\ Proper Autobans \r\n\#i5021005 \r\n\ Tons of npcs and shops \r\n\#i5021005 \r\n\ Player Hangouts \r\n\#i5021005 \r\n\ Most Pqs Working");
}
cm.dispose();
}
}
Re: [Release] Super Info NPC
Good Idea!
Seems really use full for the noob players that can come to our servers (;
Re: [Release] Super Info NPC
Quote:
Originally Posted by
Jvlaple
LOL, what a noob script...
Here, I'll fix it up for ya
Code:
var status = -1;
function start()
{
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == 1)
status++;
if (status == 0) {
cm.sendSimple("#bWelcome to BeamMS V.62, I am the personal helper NPC. What do you need? \b\r\n#L0#What are the server rates?\n\#l\b\r\n#L1#Who are the Gms of this server?\n\#l\b\r\n#L2#What are some of the new updates?\n\#l\b\r\n#L3#Where are all the NPCS in the Fm at?\n\#l\b\r\n#L4#What are some of the features to the server?\n\#l")
} else if (status == 1) {
if (selection == 0) {
cm.sendOk("#b Server Rates\r\n\#i1302034 \r\n\ Exp - " + cm.getPlayer().getClient().getChannelServer().getExpRate() + " \r\n\#i1302034 \r\n\ Meso - " + cm.getPlayer().getClient().getChannelServer().getMesoRate() + "\r\n\#i1302034 \r\n\ Drop -" + cm.getPlayer().getClient().getChannelServer().getDropRate());
} else if (selection == 1) {
cm.sendOk("#r Official Gm List\r\n\#i1000009 \r\n\ Retard - Owner \r\n\#i1000009 \r\n\ James - Co Owner \r\n\#i1000009 \r\n\ Aaron - Gm \r\n\#i1000009 \r\n\ Ruski - Gm");
} else if (selection == 2) {
cm.sendOk("#d Updates December 31st\r\n\#i2000005 \r\n\ Pet Shop Added \r\n\#i2000005 \r\n\ Player Hangouts Fixed \r\n\#i2000005 \r\n\ Bug Report System Added to Website \r\n\#i2000005 \r\n\ Non-Hamachi Coming out soon \r\n\#i2000005 \r\n\ Updating to 24/7 Server");
} else if (selection == 3) {
cm.sendOk("#k Where to find all the NPCS\r\n\#i1092001 \r\n\ Talk to Shanks in the free market for the all in one Npc selection menu");
} else if (selection == 4) {
cm.sendOk("#r Features List\r\n\#i5021005 \r\n\ PvP Working \r\n\#i5021005 \r\n\ Proper Autobans \r\n\#i5021005 \r\n\ Tons of npcs and shops \r\n\#i5021005 \r\n\ Player Hangouts \r\n\#i5021005 \r\n\ Most Pqs Working");
}
cm.dispose();
}
}
Are you retarted? You didn't even help with anything. And it works fine, not every script is broken.
Re: [Release] Super Info NPC
LOL I made it so it displays the CURRENT server rate, learn to READ >.>
Also, you cannot spell 'retarted' LOL its 'retarded'
Re: [Release] Super Info NPC
IMO, I think this isn't useful much.
Re: [Release] Super Info NPC
Code:
public List<String> getAllGMs() {
Connection con = DatabaseConnection.getConnection();
try {
List<String> ret = new LinkedList<String>();
PreparedStatement ps = con.prepareStatement("SELECT name FROM characters WHERE gm > 0");
ResultSet rs = ps.executeQuery();
while (rs.next) {
ret.add(rs.getString("name"));
}
return ret;
} catch (SQLException ex) {
Logger.getLogger(getClass().getSimpleName()).log(Level.SEVERE, null, ex);
return null;
}
}
This could be a better solution for getting GM names, retard
Re: [Release] Super Info NPC
Nice release but I like computer npc more ;D
Re: [Release] Super Info NPC
Nice Release :D
special for new server :thumbup:
Re: [Release] Super Info NPC
Re: [Release] Super Info NPC
There was another NPC like this before that was released too ;)
Nice work anyways.
Re: [Release] Super Info NPC
Quote:
Originally Posted by
Jvlaple
LOL, what a noob script...
Here, I'll fix it up for ya
Code:
var status = -1;
function start()
{
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == 1)
status++;
if (status == 0) {
cm.sendSimple("#bWelcome to BeamMS V.62, I am the personal helper NPC. What do you need? \b\r\n#L0#What are the server rates?\n\#l\b\r\n#L1#Who are the Gms of this server?\n\#l\b\r\n#L2#What are some of the new updates?\n\#l\b\r\n#L3#Where are all the NPCS in the Fm at?\n\#l\b\r\n#L4#What are some of the features to the server?\n\#l")
} else if (status == 1) {
if (selection == 0) {
cm.sendOk("#b Server Rates\r\n\#i1302034 \r\n\ Exp - " + cm.getPlayer().getClient().getChannelServer().getExpRate() + " \r\n\#i1302034 \r\n\ Meso - " + cm.getPlayer().getClient().getChannelServer().getMesoRate() + "\r\n\#i1302034 \r\n\ Drop -" + cm.getPlayer().getClient().getChannelServer().getDropRate());
} else if (selection == 1) {
cm.sendOk("#r Official Gm List\r\n\#i1000009 \r\n\ Retard - Owner \r\n\#i1000009 \r\n\ James - Co Owner \r\n\#i1000009 \r\n\ Aaron - Gm \r\n\#i1000009 \r\n\ Ruski - Gm");
} else if (selection == 2) {
cm.sendOk("#d Updates December 31st\r\n\#i2000005 \r\n\ Pet Shop Added \r\n\#i2000005 \r\n\ Player Hangouts Fixed \r\n\#i2000005 \r\n\ Bug Report System Added to Website \r\n\#i2000005 \r\n\ Non-Hamachi Coming out soon \r\n\#i2000005 \r\n\ Updating to 24/7 Server");
} else if (selection == 3) {
cm.sendOk("#k Where to find all the NPCS\r\n\#i1092001 \r\n\ Talk to Shanks in the free market for the all in one Npc selection menu");
} else if (selection == 4) {
cm.sendOk("#r Features List\r\n\#i5021005 \r\n\ PvP Working \r\n\#i5021005 \r\n\ Proper Autobans \r\n\#i5021005 \r\n\ Tons of npcs and shops \r\n\#i5021005 \r\n\ Player Hangouts \r\n\#i5021005 \r\n\ Most Pqs Working");
}
cm.dispose();
}
}
Stop acting like your a smart ass. There are ALOT of people better than you. His script was working fine. Tell me, what did you fix?
@ontopic Nice release. Good for new players =)
Re: [Release] Super Info NPC
Nice release, I wonder you should put this in the computer npc instead.
Re: [Release] Super Info NPC
looks nice but i dont how its elixirs on the sides
Re: [Release] Super Info NPC
lmao, why elixers? and
this is great,
and how does it work??? :P: please tell me haha
good job, and wasnt there something similar to this released before?
Re: [Release] Super Info NPC
Quote:
Originally Posted by
yuniordiaz
What a bunch of asses these people are seriously it's a good release you dumb fuck's..... anyways maplepuppet how old are you because I gave up on npc scripting I though I was too young to understand lol but im how old are you so I can confirm my stupidity
Thanks for back up :D
I'm 13 mate =P
@all
For those of you that don't notice what a f4g lvlaple is
Please notice he changes the name Matt - Owner in the script
To Retard - Owner without me saying anything to him like I bagged on him before hand?
Pathetic he is.
@maple
You fail. Calling it a noob script cause it didn't have something you want?
Gtfo off my posts if your going to be a guy who thinks hes amazing at everything.
Re: [Release] Super Info NPC
Quote:
Originally Posted by
maplepuppet
Thanks for back up :D
I'm 13 mate =P
@all
For those of you that don't notice what a f4g lvlaple is
Please notice he changes the name Matt - Owner in the script
To Retard - Owner without me saying anything to him like I bagged on him before hand?
Pathetic he is.
@maple
You fail. Calling it a noob script cause it didn't have something you want?
Gtfo off my posts if your going to be a guy who thinks hes amazing at everything.
Lol..fag isnt blocked dumbshit, why say f4g?
BTW you dont need to put the author in every single simple NPC you make, no one wants to steal credits for such a simple release.
Re: [Release] Super Info NPC
Quote:
Originally Posted by
Jvlaple
LOL, what a noob script...
Here, I'll fix it up for ya
Code:
var status = -1;
function start()
{
status = -1;
action(1, 0, 0);
}
function action(mode, type, selection) {
if (mode == 1)
status++;
if (status == 0) {
cm.sendSimple("#bWelcome to BeamMS V.62, I am the personal helper NPC. What do you need? \b\r\n#L0#What are the server rates?\n\#l\b\r\n#L1#Who are the Gms of this server?\n\#l\b\r\n#L2#What are some of the new updates?\n\#l\b\r\n#L3#Where are all the NPCS in the Fm at?\n\#l\b\r\n#L4#What are some of the features to the server?\n\#l")
} else if (status == 1) {
if (selection == 0) {
cm.sendOk("#b Server Rates\r\n\#i1302034 \r\n\ Exp - " + cm.getPlayer().getClient().getChannelServer().getExpRate() + " \r\n\#i1302034 \r\n\ Meso - " + cm.getPlayer().getClient().getChannelServer().getMesoRate() + "\r\n\#i1302034 \r\n\ Drop -" + cm.getPlayer().getClient().getChannelServer().getDropRate());
} else if (selection == 1) {
cm.sendOk("#r Official Gm List\r\n\#i1000009 \r\n\ Retard - Owner \r\n\#i1000009 \r\n\ James - Co Owner \r\n\#i1000009 \r\n\ Aaron - Gm \r\n\#i1000009 \r\n\ Ruski - Gm");
} else if (selection == 2) {
cm.sendOk("#d Updates December 31st\r\n\#i2000005 \r\n\ Pet Shop Added \r\n\#i2000005 \r\n\ Player Hangouts Fixed \r\n\#i2000005 \r\n\ Bug Report System Added to Website \r\n\#i2000005 \r\n\ Non-Hamachi Coming out soon \r\n\#i2000005 \r\n\ Updating to 24/7 Server");
} else if (selection == 3) {
cm.sendOk("#k Where to find all the NPCS\r\n\#i1092001 \r\n\ Talk to Shanks in the free market for the all in one Npc selection menu");
} else if (selection == 4) {
cm.sendOk("#r Features List\r\n\#i5021005 \r\n\ PvP Working \r\n\#i5021005 \r\n\ Proper Autobans \r\n\#i5021005 \r\n\ Tons of npcs and shops \r\n\#i5021005 \r\n\ Player Hangouts \r\n\#i5021005 \r\n\ Most Pqs Working");
}
cm.dispose();
}
}
LOL! what a noob script! you forgot a ; !
anyways this one is shorter, and therefore better
Code:
function start()
{
cm.sendSimple("#bWelcome to BeamMS V.62, I am the personal helper NPC. What do you need? \b\r\n#L0#What are the server rates?\n\#l\b\r\n#L1#Who are the Gms of this server?\n\#l\b\r\n#L2#What are some of the new updates?\n\#l\b\r\n#L3#Where are all the NPCS in the Fm at?\n\#l\b\r\n#L4#What are some of the features to the server?\n\#l");
}
function action(mode, type, selection) {
if (selection == 0) {
cm.sendOk("#b Server Rates\r\n\#i1302034 \r\n\ Exp - " + cm.getPlayer().getClient().getChannelServer().getExpRate() + " \r\n\#i1302034 \r\n\ Meso - " + cm.getPlayer().getClient().getChannelServer().getMesoRate() + "\r\n\#i1302034 \r\n\ Drop -" + cm.getPlayer().getClient().getChannelServer().getDropRate());
} else if (selection == 1) {
cm.sendOk("#r Official Gm List\r\n\#i1000009 \r\n\ Retard - Owner \r\n\#i1000009 \r\n\ James - Co Owner \r\n\#i1000009 \r\n\ Aaron - Gm \r\n\#i1000009 \r\n\ Ruski - Gm");
} else if (selection == 2) {
cm.sendOk("#d Updates December 31st\r\n\#i2000005 \r\n\ Pet Shop Added \r\n\#i2000005 \r\n\ Player Hangouts Fixed \r\n\#i2000005 \r\n\ Bug Report System Added to Website \r\n\#i2000005 \r\n\ Non-Hamachi Coming out soon \r\n\#i2000005 \r\n\ Updating to 24/7 Server");
} else if (selection == 3) {
cm.sendOk("#k Where to find all the NPCS\r\n\#i1092001 \r\n\ Talk to Shanks in the free market for the all in one Npc selection menu");
} else if (selection == 4) {
cm.sendOk("#r Features List\r\n\#i5021005 \r\n\ PvP Working \r\n\#i5021005 \r\n\ Proper Autobans \r\n\#i5021005 \r\n\ Tons of npcs and shops \r\n\#i5021005 \r\n\ Player Hangouts \r\n\#i5021005 \r\n\ Most Pqs Working");
}
cm.dispose();
}
Re: [Release] Super Info NPC
what does super npc info do??
Re: [Release] Super Info NPC
Quote:
Originally Posted by
Traitor
LOL! what a noob script! you forgot a ; !
anyways this one is shorter, and therefore better
Code:
function start()
{
cm.sendSimple("#bWelcome to BeamMS V.62, I am the personal helper NPC. What do you need? \b\r\n#L0#What are the server rates?\n\#l\b\r\n#L1#Who are the Gms of this server?\n\#l\b\r\n#L2#What are some of the new updates?\n\#l\b\r\n#L3#Where are all the NPCS in the Fm at?\n\#l\b\r\n#L4#What are some of the features to the server?\n\#l");
}
function action(mode, type, selection) {
if (selection == 0) {
cm.sendOk("#b Server Rates\r\n\#i1302034 \r\n\ Exp - " + cm.getPlayer().getClient().getChannelServer().getExpRate() + " \r\n\#i1302034 \r\n\ Meso - " + cm.getPlayer().getClient().getChannelServer().getMesoRate() + "\r\n\#i1302034 \r\n\ Drop -" + cm.getPlayer().getClient().getChannelServer().getDropRate());
} else if (selection == 1) {
cm.sendOk("#r Official Gm List\r\n\#i1000009 \r\n\ Retard - Owner \r\n\#i1000009 \r\n\ James - Co Owner \r\n\#i1000009 \r\n\ Aaron - Gm \r\n\#i1000009 \r\n\ Ruski - Gm");
} else if (selection == 2) {
cm.sendOk("#d Updates December 31st\r\n\#i2000005 \r\n\ Pet Shop Added \r\n\#i2000005 \r\n\ Player Hangouts Fixed \r\n\#i2000005 \r\n\ Bug Report System Added to Website \r\n\#i2000005 \r\n\ Non-Hamachi Coming out soon \r\n\#i2000005 \r\n\ Updating to 24/7 Server");
} else if (selection == 3) {
cm.sendOk("#k Where to find all the NPCS\r\n\#i1092001 \r\n\ Talk to Shanks in the free market for the all in one Npc selection menu");
} else if (selection == 4) {
cm.sendOk("#r Features List\r\n\#i5021005 \r\n\ PvP Working \r\n\#i5021005 \r\n\ Proper Autobans \r\n\#i5021005 \r\n\ Tons of npcs and shops \r\n\#i5021005 \r\n\ Player Hangouts \r\n\#i5021005 \r\n\ Most Pqs Working");
}
cm.dispose();
}
Thread starter doesn't have one and he copy pasted his. gg.
Re: [Release] Super Info NPC
this is nice .. jst better then the others
Re: [Release] Super Info NPC
Nice for new peoples to your server :D