SSForum.net is back!
50% Packetloss
Member-
Posts
197 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Events
Gallery
Articles
Everything posted by 50% Packetloss
-
Checking past c->final (somewhat)
50% Packetloss replied to Dark Nexus's topic in General Discussion
You can always do the same task by hand. Increment through the charater array until you find the space and then store the rest in another charater array. Doing everything manuelly makes the program much faster but may be more time consuming. Something such as a mervbot plugin should be easy to read for noobie programmers or if you need to look back at your code after a long period of time. Speed isnt a problem with a small merv plugin, especially with the cpu power that is in wide spread use nowadays -
Checking past c->final (somewhat)
50% Packetloss replied to Dark Nexus's topic in General Discussion
c->final is the "bloh blah" part of your example. Its the input after the command. The simple way to seperate them would be to String Blah=c->final; //string object found in datatypes.h Blah.split(' '); //split the string where you find the 1st ' ' (space) charater Thus the string would now be seperated, and Blah.msg=="blah" If you wanted to get the left side of the string too then do String Bloh=Blah.split(' '); and Bloh.msg=="bloh" -
merv doesnt really fly around, it just sends it's postision to the server. So it can p!@#$%^&* through walls and jump across the entire arena. When its following you, it just recieves your position and then triangulates it.
-
What is the name of the player? I know that message appears when there is a % sign in a name or the name is an invalid SS name. Here is another problem void gotOperator(char *line) { String s = line; Operator_Level level; String name, p!@#$%^&*; level = (Operator_Level)s.split(':').toInteger(); name = s.split(':'); p!@#$%^&* = s.split(':'); if ((level >= OP_Moderator && level <= OP_God) && (!invalidName(name.msg)) ) { db->addOperator(name.msg, passmsg, level); printf("Added %s-level operator: %s (%s)\n", getLevelString(level), name.msg, passmsg); } else printf("Invalid %s-level operator ignored: %s (%s)\n", getLevelString(level), name.msg, passmsg); } enum Operator_Level { OP_Player, // Requests information services OP_Limited, // Player with some privelages OP_Moderator, // Represents player interests OP_SuperModerator, // Manages moderators OP_SysOp, // Adds/removes/modifies available bot services OP_Owner, // Changes internal bot settings OP_Duke, OP_Baron, OP_King, OP_Emperor, OP_RockStar, OP_Q, OP_God // ...Some other ways to say "Owner" }; if ((level >= OP_Moderator && level <= OP_God) && (!invalidName(name.msg)) Should be if ((level >= OP_Limited&& level <= OP_God) && (!invalidName(name.msg)) ill email catid about it, i added the fix to this post. For some reason .net compiles merv 100k smaller than vc++6
-
spawn.h at the top #include "blah.h"
-
Checking to see if an array slot is empty
50% Packetloss replied to Dark Nexus's topic in General Discussion
the invalid player name function is wrong anyway. The % sign is a legal characer in a name. Also, for any char string the last character is null (aka '\0' or 0), so all that strlen does is run a "for" loop until it gets to the end of the string. -
kirk's bot does stats stuff i believe. His site is down
-
Catid's ctf w/ sourcectf_bot_with_src.zip
-
I have the fix for the function that allows the bot to pick up the soccer ball if you need it. Also have a fix for a large problem with event_flaggrab. And a small one for event_flagvictory. I think catid went on vacation for the holidays or something, normally he responds to my email within a day. Im not sure if the bot is able to determine where the ball lands. The ball could bounce off a wall and Im not sure another position packet is sent in that case.
-
homeless shelters have food and librarys have T3 connections to the internet. You can move in with catid, he lives in Flordia i believe.
-
I think the bot comes down and picks them up. Drops them off in thier original place with /*shipreset
-
Merv should work just fine in ASSS, never tested it in there though. Not very many people are creating map editors right now, but those things would be possable. FPS is different for everyone though. A merv bot that stored !message would be easy to make. It could store everything in a file. But this would make messaging unsecure, for the sysop/bot-op of the zone would be able to read people's messages.
-
I didnt mean to offend you brain, that bot in Hyperspace is very nice. I use to get on 2 comps and kill myself for EZ$. But once a lot of people where in there, the bot lagged like a -*BAD WORD*-. The new ASSS module running the game takes away something that was fun in the zone. Plus there are no directions for how to use it. Close source for your zone makes sence to me, but you know how to program and the people that Earthshero is advertising to do not. Just saying that it is risky to take him up on the offer, I would have someone double check the source code for you before you put the bot in your zone.
-
I have yet to see a bot that is uncloneable. Meaning, I could go in the zone and see your bot, then write one that did the some actions. So having closed source is useless. Mervbot is a open source project and same should be it's plugins. There are plenty of close source bots out there, go write code for them.
-
Not Open Source == Paranoid We are talking about mervbot, no one is going to haxor your dll. Mervbot itself is open source and it doesnt have some huge encryption schemes to protect admin passwords. Having open source allows future coders to take your source and change it for future enhancements in the game. Anything that you or anyone codes is not going to be so genious that it has to be kept secret. Plus how are zone owners going to know that you didnt program some back door into your plug-in? They cant read C++ and why should they trust you? Maybe its just me but pleading to create a bot for someone falls under my same category for pleading to be staff of some zone you have never played in. Example- http://www.ssforum.net/viewtopic.php?t=1573 Convince me!
-
Where is some Mervbot example code so that zone owners can determine if you got skillz. Never seen anyone advertise bot making, Usually when Im done with a project, someone just contacts me with the next thing.
-
its up on mervbot.com now
-
http://forums.minegoboom.com/viewtopic.php?t=1837 I know some of you dont use the minegoboom forum and may be looking for a ship limiting bot. I just made one and just waiting for any comments/bugs. If nothing, ill email it to catid. Btw, I was thinking of a good zone that I would want to make, The Subspace Brothel. The bot would make high scoreing players the pimps and they could pimp out players somehow. lol
-
im almost done with most of that stuff you messaged me about, Deth. Debugging and testing it currently. Advertising is a years ban in SSC zones. Not sure about the others
-
its probably what your drinking, try switching off Sanka and go onto Pepsi. I use paint shop pro to look at screenshots, it has a file browse feature that can look at many pics at once, d/l it on kazaa. BMP is pretty much a standard so the problem lies in Ulead Photoimpact here is the website for thier patches, and the 3 versions of the software http://www.ulead.com/tech/pi/pi_ftp_pi6.htm
-
thats because when the goal was made, the ball was reset back to its original pos!@#$%^&*ion and that original position is always the same.
-
Map Files and Sexing up Mervbot
50% Packetloss replied to 50% Packetloss's topic in General Discussion
map[y * 1024 + x] will return a tile value, so cycle through them all and it should fix the problem ill play with it -
You cant find the ball's coords if its not being held by someone.
-
Map Files and Sexing up Mervbot
50% Packetloss replied to 50% Packetloss's topic in General Discussion
nope doesnt work. . Adding that means editing the core ekted, if i really wanted to have the bot work id do that, but just messing around