-
Posts
2,921 -
Joined
-
Last visited
-
Days Won
48
Content Type
Profiles
Forums
Events
Everything posted by KyleMassacre
-
you can remove that. It was brought over throughout some of the posts.
-
replace lines 2-22 with: include "globals.php"; is that what you meant?
-
Wow, this thread is about 5 years old and your bringing it back from the dead? Please try not to post on old threads like that?
-
I'm pretty sure people can do it so what's the mod and what's the price?
-
Do you thinks Newspaper is important in game ?
KyleMassacre replied to secret_life's topic in General Discussion
you can do quite a bit, like I said maybe add a feature to your announcents to add to the newspaper or player advertising which cost money or whatever -
How about something like I did where the game owner creates their classes they want for their game and sets the incentives??? Just a thought but other than that excellent work
-
Looking for beta testers for my upcoming game.
KyleMassacre replied to DopeboyGFX's topic in Generic RPG
@Gang-Life, That had nothing to do with this topic. There is a place to post that. Back on topic ↓↓↓↓↓↓↓↓ -
A whole 'nother table would be wiser in my opinion instead of adding more stuff to the users table but that would require a lot more work when altering modules...... I take that back maybe just join the new table with users and userstats in the $ir variable in your globals. :p Either way, there are plenty of ways to go about this but the easiest way is just add more columns to the users table since from what I recall is this module grabs all cloumns from the users table in the chat box settings.
-
make it a setting or requirement for the user and have them change it in preferences Edit: Let me go more into details and see if this works. I believe there is an option when creating the chats where you define certain requirements for the users to have to access the specific chat you are creating. So what you would do is make a new column in the users table and call it like "chat_open" set it enum, int, or whatever tickles your fancy. Then when creating/editing the chat you just add your requirement(s) for keeping the chat open for them. You can then add something in preferences for them to adjust accordingly. Personally I would make one for each chat you make and you can serialize it or encode it so its just still one column in the users table, this way they can keep maybe a certain chat open that they like the best
-
how does that explain an undefined php function that comes with the GD lib? Since it looks to me that no variables are coming from an outside file I believe kind sir that you may be incorrect. Granted I don't see what is really wrong with his imageline () function but if you look at lithiums link he was so gracious enough to provide us it seems like his GD library may need to be compiled with some extra features (first user submitted post) by a Mr. Paul Reinheimer. For your variables lines 15-25 maybe get rid of the ones that say $your_variable = array (); because your really not making them an array? That may solve your imageline problem (hence your array error). EDIT: I just wanted to point something out that really bothers the hell out of me and I see it all the time when people post anything with the RC engine and its about these so called "arrays". If you are going to tell php something is an array, make it an array for example: $my_var = array (); //I just told php that this variable is an array $my_var = 10; //is that an array? $my_var["my_key"] = 10; //now I made my variable an array I have seen this in tons RC scripts where they say a variable is an array and its not, or they do the same, then query the db, then do mysql_fetch_array. The great thing about php is once you fetch the array, guess what? Its an array. RANT OVER
-
Oooooorrrrrr, you can take the date they signed up and gdt the difference and display that. Requires no cron or a field in the users table that just counts upwards every day ;)
-
mysqli_query($c, "update some_table set some_column = {$_POST['text']}"); You mean secure like that?
-
thanks for the info. so how are we going to fix it?
-
Updated OP with links to purchase
-
Thanks script. And my bad I wrote the post in a rush waiting for my gf to get home but thank you for your help when I needed it
-
Hello, As the title states I have created a Player Rating module for your McCodes V2 game. As with any ajax or jquery application it does not reload/refresh your screen when you click the rating button but dynamically updates the players value(s) right then and there. As for features, well its a player rating so most people should know what it is exactly so I won't go to much into details on it at all. But some little things it does is: Sends an event to the player that was rated the event is random so it may or may not provide details on who rated them Works off timestamps and not crons so players can only vote every 24hrs and will automatically delete votes that exceed the 24hr mark. Package includes: 1 SQL file (creates a new table and adda 2 columns to users) 2 file uploads Instructions on how to do some very small edits to existing files like header, and viewuser And that's pretty much it. If interested feel free to let me know and price is $5 per copy. I attached some screenshots of it so you can see what it does, and no I'm not going to supply a demo because people take advantage and try to exploit demos and such, and since I don't have a game running I didn't bother to add any security to the default/core scripts. If you really must see a working demo then maybe we can talk and I can set you up with limited access to it **Edit** Also, I didn't want to make another thread but this is available for GRPG as well. Some purchase links: Player Rating for MCC Player Rating for GRPG
-
New Users ID's | Fix = $$$ for you, need this bad
KyleMassacre replied to Gang-Life's topic in Modification Support
don't forget about userstats as well. Granted its not on auto increment but be sure that the users id matches with that table on insert. so if you truncate users you may as well truncate userstats so they will match -
C'mon Coder, there is really no need for comments like that. Lets play nice you guys
-
Do you thinks Newspaper is important in game ?
KyleMassacre replied to secret_life's topic in General Discussion
Most definitely, if used correctly. Its a good place to store events that have happened or will happen in your game. I wouldn't use it for every little thing though. You can use it alongside announcements and stuff like that -
Please point me to a person that is willing to create me an app for $10 for future reference. A lot of places online that develop apps will charge no less that $400 to even open up eclipse for you. A webview app that is not made from appgeyser or another free online, do it yourself, add your url service is worth $200. I agree it adds to the value. @gpo26: If you haven't recieved a real offer yet from here I would really think about posting on flippa, but keep this open till you sell it (if you decide to sell/do sell) just in case someone happens to pop In a say "Hey, I'll buy it now".
-
if you hired a developer for it I would have went all out and got a native app. I'm kind of put off by webview apps like those crappy ones that you can do online for free. On the flipside though, I have seen some pretty good webview apps though
-
php.net is the go to place for php and for html and css you can check out w3schools.com
-
How to integrate SMF into any McCodes Package
KyleMassacre replied to sniko's topic in Free Modifications
you know, this is funny. I just started thinking of this thread like a week ago and thought what can we do to make this better and though: "Why not standardize this a little bit?" So here is a small start that you can add into globals.php and nonauth.php $smf = new database; $smf->configure("localhost", "smf_db_username", "smf_db_pass", "smf_db_name, $_CONFIG['persistent']); //keep the config persistence for the heck of it $smf->connect(); //can we get away with just using the default conn. var? $c = $smf->connection_id; then on reg you can do something like: $smf->query("INSERT INTO `smf_members` (`member_name`,`date_registered`,`real_name`,`email_address`,`passwd`) VALUES ('{$username}',unix_timestamp(),'{$username}','{$email}', '{$password}')"); **note** if there are any spaces in the word email (or anywhere else in that matter, please remove them ;) Gracias!) This isn't much but it helps cut down some lines of code, and makes easy integration of the forum elsewhere for example: you have an announcement mod with forum integration. or you just want to throw random crap in a topic Now I don't know much about smf's ssi but maybe it provides better usage? -
Help with sending message to players at registration
KyleMassacre replied to CENilsen's topic in General Discussion
ok, try taking it out of where you currently have it and add it to line 171 and ill explain why you have that error. You were right about where you placed the code. If you noticed you have a blank in your query error in the mail_to spot. And that is because your $i variable that you tried placing in there hasn't been instantiated as of yet (line 167). That $i is the last row number that got inserted into the database via your insert into users table query which in turn gives you your new user's id