|
Post by Jonty800 on Jun 27, 2011 5:19:54 GMT -5
I'm trying to learn how to program, so I'm writing a few commands. They are a bit lame.
/review - a command that guests can use to notify us that they want us to review their build
/review2 the original review command I wrote. /review2 buildtype. I kept this on the release.
/hug - /hug username. A stupid command to hug someone. Its pointless, and not perfected.
/fagkick - a joke command. Use this command like you would with /kick but only use it when the person really annoys you. It notifies them that you FagKicked them.
/xmute - /xmute [seconds] its the same as mute, but it freezes the player too. I plan to make it so it unfreezes the player after the mute has finished, and rename the command /timeout.
/blockinfo - Shows names of all blocks to be used with drawing commands
/oprules - not completed yet. I'll keep trying
EDIT: Finally got /oprules to work Reb, Rules is 1.txt Oprules is 2.txt This command doesn't need a permission as I feel everybody should see what the rules of the Ops are
Other changes: /st is now a shortcut for /staff /zdel replaces /zdelete and the /ok confirmation has been removed Name color changes for Admin+ /fk as a shortcut for /fagkick
added /follow to the source, I plan on adding /spat but thats gonna be tricky
EDIT: I managed to add /spat, /specpatrol into the code
Removed /fagkick and replaced it with /BassCannon or /bc
|
|
|
Post by Jonty800 on Jun 28, 2011 10:29:25 GMT -5
Finally got a newer version of fcraft, r683. The only repo I could get without it corrupting during checkout. I'll try to get it finished today.
Added my old code to the newer version.
Added command /wbring
Tried to make /jail command by combining /wbring and /demote.
As some people break the rules by accident, I think it might be a good idea to make a /timeout command, where the player will be send to world "timeout", frozen, muted and forced to stare at a wall with the rules written on it
Created /timeout command and almost mastered the command. Now need to stop people in timeout from leaving the world.
|
|
|
Post by Jonty800 on Jun 29, 2011 15:23:20 GMT -5
working on a new thing. Notifies everyone when I player is no longer afk.
Notifies if player is away for 5-16 and returns within that time period.
Attempted bug-fixes to /hug
|
|
|
Post by Jonty800 on Jun 30, 2011 0:29:34 GMT -5
its a changelog so I know what I've done and what I need to do Removed autoafk as it was buggy Created a new, more efficient way for /rules to work. /rules rankName. A rule for every rank. Made a HUGE derp in if, fixed for next update. Also allowed /rules to show a list of ranks. Fixed /hug Fixed /review Fixed everyones names of whom I had messed up Need a way for /timeout to return player to world after 60seconds Going to make a hidden command for owners which can kick someone without adding to kicks on the player database
|
|
|
Post by Jonty800 on Jul 1, 2011 15:25:17 GMT -5
failed to get the manual disconnect command to work, will retry after this coffee.
Managed to get Fragmer to add /tree to his todo list.
will attempt to add a /removeallzones command, hopefully allowing the zones to be removed per rank, instead of the whole list.
|
|
|
Post by Jonty800 on Jul 1, 2011 21:15:58 GMT -5
The version we are running at the moment doesnt have any of my commands in it. Its the original version. I need to re-add my code, then send it to reb.
/rules just shows the rules.
|
|
|
Post by Jonty800 on Jul 1, 2011 22:40:42 GMT -5
Updated my code.
try new command /spat.
Added a command to remove all zones, it is hidden for obvious reasons so no one can use it. Want to update it to remove selected rank-zones. All seems to be stable.
Wrote a /tree command that doesnt work. Will try and get it working tomorrow / give up.
Updated sections of the code to fix heartbeat error.
manually hanged the version to 702 in the code to stop fcraft from trying to update.
|
|
|
Post by Jonty800 on Jul 2, 2011 2:02:24 GMT -5
spent all night trying to get /whodid working, and I did, but it cant pick up on any block changes, so I give up.
Managed to make a new command, /xundo.
It undoes the last cuboid done by a player remotely. Only the last cuboid though, which sucks. But it'll be good for spherespam or something.
|
|
|
Post by Jonty800 on Jul 2, 2011 5:34:48 GMT -5
working on two new commands.
/checkerboard and /blockinfo (/whodid)
If I can get mysql to work with fcraft, then it should work. And thats exciting stuff.
|
|
|
Post by Jonty800 on Jul 3, 2011 7:45:45 GMT -5
The guy who makes fcraft, Fragmer, hasn't touch that command in months, neither have I. Let me know if this problem still persists over the next few days.
Update: /cb works perfectly - need to remove the player message "created checkerboard or sumink"
/xundo works well, I can't expand it to more than just last cuboid or the UndoBuffer will cause too much memory to be used
/bi doesnt work properly. I bet its not storing any data at all. I have the theory that I wrote the "save data to mysql" part wrong, since I based it on mclawl's code. I'll keep working on it, it WILL work.
modify: my theory was right, there are over 200 entries in pre-existing fieldname "x" but NULL in "world"
Check the saving section of the code.
|
|
|
Post by norablindsided on Jul 3, 2011 9:58:41 GMT -5
Jonty does block info only affect cuboid? Because it would be great to do that for everything. I understand that may take up tons of info, so maybe it could only apply to guest1 map. Expecially when it comes to spam builds like the 30 penis builds in guest yesterday, it would be very helpful.
Disregard poor spelling abd grammar I'm a bad typer on my phone.
|
|
|
Post by Jonty800 on Jul 3, 2011 11:50:00 GMT -5
if I get it to work, the it will be blocks only. drawing commands can be done, but for example, when I wipe the guest map, it will create 16,000,000 entries into mysql. and I bet that will crash reb's pc.
|
|
|
Post by Jonty800 on Jul 3, 2011 17:51:04 GMT -5
changed all the code for /bi to work with Microsoft SQL. Same result. Command don't work. Sad face. Dunno what to do.
|
|
|
Post by guesstimatejones on Jul 4, 2011 22:28:49 GMT -5
"Disregard poor spelling abd grammar I'm a bad typer on my phone." My influence, it seeps into your brains.
|
|
|
Post by Jonty800 on Jul 5, 2011 0:57:28 GMT -5
I think fcraft is gonna have them soon, so there is no need. Also, this is my changelog. Try the other post Removed mysql commands - not working. Added command; /hacks /disconnect /adminchat
|
|
|
Post by Jonty800 on Jul 6, 2011 17:06:09 GMT -5
added /fly, need to fix the layout so it shows line after line, not word wrap. fixed /disconnect, made it /gtfo also. need to fix its permissions.
forgot to remove /hacks, but who cares
|
|
|
Post by totentag on Jul 6, 2011 18:04:38 GMT -5
Don't you dare remove /hacks. xP I've gotten too many people with it to lose it now.
|
|
|
Post by Jonty800 on Jul 6, 2011 23:52:15 GMT -5
I have an idea for portals.
If I could use the way /zone works and when a placer trys to break a block in a zone.
If I could replace "you cant build in this zone" with "/wbring +playername +zonename" That could or could not work. hmmm.
|
|
|
Post by austinsmurfy on Jul 7, 2011 1:36:06 GMT -5
Keep up the good work Jonty
|
|
|
Post by totentag on Jul 8, 2011 18:44:32 GMT -5
Portals seem like they'd be a pretty good move. That would make it easier for guests and builders and such to explore the server and get some decent ideas.
|
|