-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
I would be glad to help you with your service, since my computer consists of hundreds of different custom commands pre-coded, and I can code some more.
---------- Post added at 01:35 PM ---------- Previous post was at 01:29 PM ----------
Quote:
Originally Posted by
Zak
You Had this Command in your Old EMULATOR
Command: Pet Jump And Pet Playdead
Emulator: Dissi
Or if you can pass your old server :P
Code:
#region :jump
case "jump": // Updates certain parts of the server.
{
if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
return false;
else
{
if ((_isPet) == true)
{
if (Jump == 0)
{
statusManager.handleStatus("jmp", "", Config.Statuses_Wave_waveDuration);
}
else if (Jump == 1)
{
sendData("BK" + "You are already jumping.");
}
}
else if ((_isPet) == false)
{
sendData("BK" + "You have to be a pet to use this command.");
}
}
break;
}
#endregion
Here it is.
Credits to Ryan.
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Thanks have you got play dead one to?
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Quote:
Originally Posted by
Zak
Thanks have you got play dead one to?
Code:
#region :playdead
case "playdead": // Updates certain parts of the server.
{
if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
return false;
else
{
if ((_isPet) == true)
{
if (Dead == 0)
{
statusManager.handleStatus("ded", "", Config.Statuses_Wave_waveDuration);
}
else if (Dead == 1)
{
sendData("BK" + "You are already playing dead.");
}
}
else if ((_isPet) == false)
{
sendData("BK" + "You have to be a pet to use this command.");
}
}
break;
}
#endregion
There you go. ;)
Credits to Ryan
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Love You Man :) Needed these command very bad
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Your welcome. Tested on my emulator, they work fine. Thanks button helps ;)
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Dissi |
a comamnd when u hit |
that says 7+12 depending on ur str
.. And another damage |
Thankerz Vic
ALso..
Dissi
| An updated healthbar for the
client. And if so strength
| please. Just like on chrono XD
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Emulator: Slaxxer's UberEMU Edit v3
Command: :reload NAME OF USER
What it does: It will reload the user NAME OF USER(replace with user name.
Emulator: Slaxxer's uberemu edit v3
Command: :reloadall
What it does: Reloads all users.
if you cannot make replace all reload with disconnect(so will be the disconnect code.
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Quote:
Originally Posted by
HFTB
Emulator: Slaxxer's UberEMU Edit v3
Command: :reload NAME OF USER
What it does: It will reload the user NAME OF USER(replace with user name.
If im not mistaken thts alreayd released bt its called :dcuser
Im not sure where its released.
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
.. kay.
ps. can you make Login achievement for Dissi's edit of Holograph Emu ACH_Login1 to ACH_Login10?
number of logins required:
ACH_Login1: 5
ACH_Login2: 25
ACH_Login3: 100
ACH_Login4: 160
ACH_Login5: 210
ACH_Login6: 350
ACH_Login7: 400
ACH_Login8: 430
ACH_Login9: 470
ACH_Login10: 500
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
this Is Holograph But i think some nicd person will come around and will code it for you
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Quote:
Originally Posted by
HFTB
Emulator: Slaxxer's UberEMU Edit v3
Command: :reload NAME OF USER
What it does: It will reload the user NAME OF USER(replace with user name.
Emulator: Slaxxer's uberemu edit v3
Command: :reloadall
What it does: Reloads all users.
if you cannot make replace all reload with disconnect(so will be the disconnect code.
Dude
this is for fucking Holograph -_-
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
If your looking to disconnecting users from the hotel, it won't reload them, just disconnect them. They will have to reload manually. This is the command.
Code:
#region :dcuser
case "dcuser": //Disconnects target user
{
if (rankManager.containsRight(_Rank, "fuse_administrator_access") == false)
return false;
else
{
virtualUser Target = userManager.getUser(args[1]);
sendData("BK" + "The user " + Target._Username + " was disconnected from the server." +
Convert.ToChar(2));
Target.sendData("BK" + "You have been disconnected by a member of staff." + Convert.ToChar(2));
Target.Disconnect(15000);
}
break;
}
#endregion
I added a timer, so it will take 15 seconds for them to disconnect. Mainly for role-play hotels. To remove the timer, just remove the "15000" from Target.Disconnect.
Hope this helps.
---------- Post added at 04:03 PM ---------- Previous post was at 03:59 PM ----------
Also if anyone can code a addon to the ":punch <user>" command. Such as a user is carrying an item, it will add more damage to the target. Say I hold a baseball bat, it improves the damage of the target, or if I hold a broken bottle, it does more damage.
Lost Memorys edit (NON-TDBP)
If you can't code it in that version, I can trasnfer it from TDBP.
Thanks
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
now some1 code my command XD
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Quote:
Originally Posted by
HFTB
.. kay.
ps. can you make Login achievement for Dissi's edit of Holograph Emu ACH_Login1 to ACH_Login10?
number of logins required:
ACH_Login1: 5
ACH_Login2: 25
ACH_Login3: 100
ACH_Login4: 160
ACH_Login5: 210
ACH_Login6: 350
ACH_Login7: 400
ACH_Login8: 430
ACH_Login9: 470
ACH_Login10: 500
Ok, i just coded this stuff
Search in virtualuser.cs:
Before the place this code:
Code:
#region Badge Login by Bjork
using (DatabaseClient dbClient = Eucalypt.dbManager.GetClient())
{
{
dbClient.runQuery("UPDATE users SET logins = logins + 1 WHERE id = '" + userID + "'");
int logins = dbClient.getInt("SELECT logins FROM users WHERE id = '" + userID + "'");
if (logins == 1)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login1','" + userID + "','0','1')");
refreshBadges();
this.sendData("BK" + "Good Game! 1 login, you receive a new badge!!");
}
else if (logins == 50)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login2','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login1' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 50 logins, you receive a new badge!!");
}
else if (logins == 80)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login3','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login2' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 80 logins, you receive a new badge!!");
}
else if (logins == 120)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login4','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login3' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 120 logins, you receive a new badge!!");
}
else if (logins == 170)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login5','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login4' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 170 logins, you receive a new badge!!");
}
else if (logins == 230)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login6','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login5' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 230 logins, you receive a new badge!!");
}
else if (logins == 300)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login7','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login6' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 300 logins, you receive a new badge!!");
}
else if (logins == 380)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login8','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login7' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 380 logins, you receive a new badge!!");
}
else if (logins == 470)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login9','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login8' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 470 logins, you receive a new badge!!");
}
else if (logins == 570)
{
dbClient.runQuery("INSERT INTO users_badges (badgeid, userid, slotid, iscurrent) VALUES ('ACH_Login10','" + userID + "','0','1')");
dbClient.runQuery("DELETE FROM users_badges WHERE badgeid = 'ACH_Login9' AND userid = '" + userID + "'");
refreshBadges();
this.sendData("BK" + "Good Game! 570, you receive a new badge!!");
}
}
}
#endregion
You can change the numbers of logins, badges... if you want ;)
And add in phpmyadmin a new column in users table named logins like that:
http://i35.tinypic.com/24qs4z9.jpg
Don't forget to thank me :)
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Quote:
Originally Posted by
Bjork
Thanks going to convert this for hits!
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Quote:
Originally Posted by
Bjork
No problem, Good luck :)
Hmm
i havent seemed to get a badge yet..
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Ok i just got back from school accepting requests again.
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
You didnt finish mine? ;[
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
Quote:
Originally Posted by
Cobe
You didnt finish mine? ;[
Yeah im still working on it but i dont know how to make it so the person being asked can accept.
If you use PHPRetro i could code the whole marriage system in PHP.
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]
I said before
maybe the command
accept/decline
or maybe change the marrry to propose
and then the girl/guy has to say marry.
-
Re: [HOLOGRAPH] [R26] Coding Custom Commands For Holograph Emu r26 [R26] [HOLOGRAPH]