-
Posts
2,921 -
Joined
-
Last visited
-
Days Won
48
Content Type
Profiles
Forums
Events
Everything posted by KyleMassacre
-
Help with sending message to players at registration
KyleMassacre replied to CENilsen's topic in General Discussion
it helps if you have your error reporting turned on. look around for your error_handler.php. I think there is something in there about displaying errors and you just set it to true or false. edit: found it. go to libs/basic_error_handler.php in your file manager and find where it says: define('DEBUG', false); and change the false to true. Then try to register again and see what happens -
Help with sending message to players at registration
KyleMassacre replied to CENilsen's topic in General Discussion
$db->query("insert into messages (mail_from, mail_to, mail_time, mail_subject, mail_text) values (2, $i, ".time().", 'Welcome','Welcome to the game')"); Try that. You didnt have the column names and you had your mail_from as this: [2]. I dont think that is a valid int or constant. Also I edited your subject (for the thread) since its really not a NPC problem -
Ohhh your such a charmer lol. Its not that great. I went with the jitterbug approad but I'm thinking I need to make the buttons bigger to match the screens
-
lets keep this on topic please. If you feel you need to discuss that either Open a new thread in the collabs and exp. Take it to pm I prefer the latter. Thanks, please come again. Back to the topic: I haven't really seen much free casino games around. I converted that roulette mod that grant made for GRPG to MCC but that's about it.
-
I know I'm a late bloomer but the past couple days I have been trying out jquery so maybe ill throw some of that in? I have a 5050 mod that Script47 created that I did some jquery to and my player rating mod that I'm tweaking with right now. So I can probably add this to the list
-
eww this is old haha. when I get a chance ill try and update it a bit
-
google a formatter
-
I can understand that, but the cool thing about VS is you just double click the button and BAMMMM it takes you to the correct function. Plus its just a calculator so there isnt much to it anyways :p But thanks for the advice, as I continue on ill be sure to do things a bit more proper
-
I can say sure for commenting but properly naming, what's not proper about my functions or variables. Like I said before I am extremely new to C# and to be honest haven't touched it since
-
This is actually pretty good jcvenom. Excellent
-
Proof Publius is still the owner of TheGRPG.
KyleMassacre replied to Publius1's topic in General discussions
Im sorry but thats just your word. See you dont even know hence the word that YOU used "possibly". Why are you so disgruntled with the fact that someone else apparently bought it and owns it? Now, if this was the case and it is in fact not legally purchased dont you think the real Publius would go after the person "Claiming" to own it? -
I agree. Thanks for wanting to give us first shot at it but you may wanna also consider flippa too
-
Ok lets keep on target here guys this is getting out of hand here Thank you
-
Thank you jason for your +1. Best thing to do is just take comments like that and ignore them.
-
Nice work Angel and Dave. I have really nothing bad to say about this one at all.
-
[code*] code here [*/code] without the *
-
oops i just realized that you had highlighted stuff in there my bad but please use code tags or php tags when posting code. Its easy on the eyes and you can just: /*wrap stuff like this*/ //in comments like so// To answer your question, the answer is no, you dont need to put php in html. But would it be php? PHP can be anywhere within your html in the head, body, script tags just make sure you open and close your php script with <?php // this is opening it up for me to write some PHP $var = "this is some of my PHP here"; echo $var; //this is going to close my php ?> <html> <head> <?php //see here is some PHP in the head. Notice the open and closing PHP tags <title><?php echo $set["game_name"]; ?></title> </head> <body> <?php echo "this is php in the body of my html page"; ?> </body> </html> See something like that. But in your login you posted they used some heredoc or nowdoc or whatever its called
-
Actually what Lithium said may be better if you want to add additional merits. But to do that I would rig up a switch statement for it maybe
-
You could do that but its not reccomended that you make all your files writable but if you do during installation then make sure you change them back after words
-
look at line 2: It reads if 25600000 is greater than $tp then the condition is met. I think you want it to be: if 25600000 is LESS than $tp then the condition is met. Also, no need for a blank echo you can probably just use return; , exit(); , or $h->endpage();. One of those should do
-
Well installing on a subdomain is the same as installing on a non subdomain (whatever the term is). Now on to your error, it is exactly as it says. Your root directory is not writable. I don't know what software you use like FTP program but you need to change the chmod settings atleast during intial installation to maybe something like 775. I think it mainly just needs to be config.php that needs to be writable since it writes in your db connection parameter for mysql and your cron code
-
Now that looks great. Excellent work buddy
-
I found a lot easier way to do it than the way I originally had it. for some reason it was screwing with my html
-
Haha yeah its on its way buddy ;)
-
Username Gradients Well title says it all. Someone hit me up a little while ago and asked if I can make this for him. After hours of trial and error and headaches I managed to dig up some resources and implement it into McCodes for whoever is interested. Basically what this does is change your players username into a gradient using 2 colors (start/stop). It is by default set up to be for lack of a better term a "Donator Feature" using an item and they get X amount of days of a pretty swell looking gradient username but this can be changed if you wish I guess. So let me show you some screenshots of it: A jquery color wheel so the users can visualize what colors they are choosing [ATTACH=CONFIG]1252[/ATTACH] Just some generic confirmation screens as the process goes. Nothing too fancy here [ATTACH=CONFIG]1253[/ATTACH] [ATTACH=CONFIG]1255[/ATTACH] Now a couple of examples in various locations [ATTACH=CONFIG]1254[/ATTACH] [ATTACH=CONFIG]1256[/ATTACH] There are just a couple edits/additions to the users table, a few file uploads and depending on how you want it to work like using an item to trigger the effect of being able have the gradient show or whatever then you will have a few file edits beside global_funcs and where ever you would like the names to show up as a gradient. If you are interested in having this go ahead and shoot me a PM since there is no need to fill up the thread with "Yeah, I want it" or whatever. If you have questions about the module then feel free to post it here. I dont have a "set price" for it but feel free to PM me and I can work with you on it since I dont really like to put a price on a mod I just like to work for some solid gratuities :p Well I think thats about it for now, like I said if you have some Q's I'll be sure to try and provide the A's