/rename =. Renames instantly. Also allows you to invite from distance. Charges 5,000,000
/sendcash
/sendcash$ Does what it says on the tin. Also charges 1.5% of the amount sent.
/bountyhunt
/bountyhunt$
/help
/Autobuy Fixed so that it now buys 70 of each item
The only thing i cant get to happen is for /autobuy to tempban after its done the rename. And i dont have enough knowledge to get the command to call the tempban plugin. If anyone knows a way feal free to let me know.
One thing i will add. I never made them as plugins. I added them to FLHook 1.5.8_Plugin version.
Well except the temporary autobuy fix (it's going to be fixed by w0dk4 in the new version) would you be able to add them as a plug-in? The thing is we now use the 1.5.9 version and we intend to keep using the last versions when they are released. That would mean updating the original version every time which is sort of difficult. With plug-in we wouldn't need to care.
Regarding the /rename command, did you just update the original .rename command (available for admins only) and made it a user-command?
/Rename is a different command all together. And to be honest. Im compleatly new to the whole thing. It just happens i have been messing around with this for a few weeks. Just as a past time. And when you made this post. It just so happened i had already added all of the commands requested. Other than the rename command.
Although i will say I can add it to 1.5.9. I noticed that was released just last night thats why i had stated in the post i used 1.5.8.
And lm not sure about the plugins all together sorry. Like i said my experiance is not that experianced:D
/rename =. Renames instantly. Also allows you to invite from distance. Charges 5,000,000
/sendcash
/sendcash$ Does what it says on the tin. Also charges 1.5% of the amount sent.
/bountyhunt
/bountyhunt$
/help
/Autobuy Fixed so that it now buys 70 of each item
The only thing i cant get to happen is for /autobuy to tempban after its done the rename. And i dont have enough knowledge to get the command to call the tempban plugin. If anyone knows a way feal free to let me know.
One thing i will add. I never made them as plugins. I added them to FLHook 1.5.8_Plugin version.
Awesome. I've "mostly" finished a renameme plugin...but on occasion a /renameme would confuse the server so that the player cannot login until the server is restarted. Not good.
I've noticed the same problem when using the FLHook command line to rename characters...after all the plugin is more or less just calling the FLHook command line stuff anyway. I get this condition if I rename a character a few times (5 to 20) say from name A1 to A2 then back to A1.
In short I'm trying to figure out what's going on...although in practice I don't think this would be a serious limitation as the server restarts a number of times a day so that players that end up in this state would be able to connect within a few hours anyway.
Proud member of "the most paranoid group of people in the community"
' Wrote:Awesome. I've "mostly" finished a renameme plugin...but on occasion a /renameme would confuse the server so that the player cannot login until the server is restarted. Not good.
I've noticed the same problem when using the FLHook command line to rename characters...after all the plugin is more or less just calling the FLHook command line stuff anyway. I get this condition if I rename a character a few times (5 to 20) say from name A1 to A2 then back to A1.
In short I'm trying to figure out what's going on...although in practice I don't think this would be a serious limitation as the server restarts a number of times a day so that players that end up in this state would be able to connect within a few hours anyway.
I think we can live with that (as renaming >5 times is going happen rarely) and as you say, we have daily restarts and then there are still quite frequent crashes.:unsure:
I suggest you talk to silent now and help him add his functions into your plugin (or create a new one).
Can I ask all guys who are interested in participating in developing FLHook plug-ins to register on developer forums? I'll create a forum for us there: http://discoverygc.com/dev
Or we could also just use the starport forum for that, what do you think?
So I've finished a rename me plugin. It's ready for testing but not ready for use on a live server (hasn't had enough testing). If anyone has time to install FLHook-plugin and try this plugin out, I'd be grateful. Either PM me or publish your results here. The plugin was built against FLHook 1.5.9 but should work with earlier versions - again more testing needed.
I'll upload this to starport - hopefully one of the folk over there will have a look at it and tell me if I've made any serious mistakes. For now the plugin dll/project/source code are here: RenameMe Plugin
Hopefully the readme file explains how to install it
I've started on a bounty command and I think I might integrate the rename function with the bounty function so that bounties follow name changes - ye villans cannot escape.
Other things I might get around to doing:
- Adding tempban after rename - I can see how to do it - but I think I may be just sending a msg to all players saying player <blah> was renamed to <new-blah> will be good enough - I haven't done this msg either. Either way, name changes are logged by the plugin so evil doers will be caught eventually.
There still is a problem with doing too many renames in a single account between server restarts. This'll be fixed in the next version of FLHook - but the plugin should catch this situation if it happens and carry on. By default the plugin limits the renames per character to one per hour.
Starport or disco dev forum? don't know - probably starport
Proud member of "the most paranoid group of people in the community"
The best way - get lots of people to try your software out. The way I did was run a couple copies of the client connecting to my own server. Ran the clients on different machines; couldn't be bothered getting them to run from one machine - I assume that this is possible - but I don't know. From memory of the forums there is a way to do it.
I see you got the plugin example to compile under VS2005. I couldn't get that to go so I ended up using VS2003.
Proud member of "the most paranoid group of people in the community"
Finished the givecash plugin. DLLs and code are here. Instructions in the README. If you've got time, test it. If anyone spots mistakes in the code or has trouble with it please let me know.
..back to the bounty plugin...
Proud member of "the most paranoid group of people in the community"