-
Posts
2,921 -
Joined
-
Last visited
-
Days Won
48
Content Type
Profiles
Forums
Events
Everything posted by KyleMassacre
-
Well if you have a USB disk or a DVD you may be able to get away with disconnecting the HDD. It's been a long time since I have used windows but if I remember the boot sequence is called that for a reason. It will look for the first available OS image and boot it. If it's not in the HDD then it should move on to a DVD-ROM possibly, if not there then it should go to removable storage like a flash drive. Or or borrow a friends HDD set it as master, set yours as slave so it won't boot from yours and go that way. Otherwise buy a new HDD. That may fix it but if your bios isn't letting you in then you have other issues. Maybe you downloaded something aweful and it corrupted your bios. If so, have fun with that
-
Well I guess vagrant is set up to connect through ssh which has a username and password plus the username and password for the MySQL server. The port isn't the issue because I can set any port to point 3306. I honestly don't know what the issue is
-
Does anyone here use vagrant? The reason I ask is because I am looking for a decent box that comes with a LAMP stack. Now before people say why use LAMP, why not LEMP? Well, because it's vagrant and what I am working on is using Apache. My whole problem is that I am not good at all with Ruby, bash, .sh, etc and can't have too much configuring around otherwise I will break it and have to start over again much like I have been doing. I suck at starting up webhosts which is the bottom line here I have gone to PuPHPet and configured a nice little vagrant box there but I can't get MySQL connection settings to work no matter what I try. I can connect remotely using Sequal Pro and a ssh connection but I can't connect with my local site that is using codeigniter. I have no clue what I am doing wrong, he'll I can't even get it to connect with a hostname to get to the dev site like using my-site.dev I have to connect with the IP address haha. Any my help is greatly appreciated
-
Split from here: http://makewebgames.io/showthread.php/46299-RC-Engine-Bookies?p=312679&viewfull=1#post312679
-
Well you may know what it's worth but we don't. We can't signup because we need a beta key. So if you say it's 30% done and it's worth $500, I will say then it's actually worth $150. I wouldn't be so sure that if it was 100% done it would be worth ~1.6k without users, sales, etc. we wouldn't be able to adequately forecast a ROI on it. Now, can I ask all the technology used to create this, the features it has, and the features it needs? like I said we can't get in and actually see what is there and what we would need to do with it. So far the only thing I see it has going for it is the theme which I quite like btw. It clean and clear without too much going on
-
What is your usage of the function? The $stat param would be the key=>value pair and the $mykey param would be a string of the stat name you are querying. For example: $strength = get_rank($ir['strength'],'strength'); Or you can do it this way: $stats = array( 'strength','guard','agility' ); foreach($stats as $stat) { echo ucfirst($stat) .": ". get_rank($ir[$stat],$stat); } And that should work Since an integer value is being passed in your error it looks like to me you are passing a key=>value pair in the 2nd parameter, basically saying you don't have a column named 373 in userstats
-
Yeah that will work. Save it as an .iso, change your boot settings to load up first from your usb and let 'er rip
-
Well we can't figure everything out for him he's got to have a friend with the computer they could download it and burn it
-
Either command line or downloading the file and installing it
-
Why do you need Windows? You can get Ubuntu Desktop if your that hard up for an OS.
-
That is probably dependent on the host. Most hosts probably think a live server = production server and do the right thing like disbaling PHP error output to the browser due to security risks. A lot of shared hosts like to restrict ini access on a shared server so people can't tinker around with apache/PHP settings and disrupt service to other clients on that box. But since he is in development it's best to go local. I read he misplaced his windows disk and something happened to his windows for some reason so what he can do is install Linux? Also, another thing I may have noticed and I am not sure this has something to do with it, but maybe change the $_SESSION['myid'] to $_SESSION['playerid'] since I believe that is the index key that RC uses by default unless another session key was created for some lame reason. Also, please learn that mres on integer values is pointless since it's not a string unless you gave it a string type in your database like *char, text, blob, etc. or if it's a get or post value. For some reason it's super annoying to me haha
-
If it's not showing any errors what is it showing? Also, are you on a live server or a local server? I'm going to go out on a whim here and say your on a free/and or shared server which has no access to php.ini and/or ini_set is disabled so you can show any errors that do happen. What at you can do is download WAMP, XAMPP if your on windows or MAMP , XAMPP if you on Mac and start developing there. Chances are you won't have a game ready for at least a year of 2 at you current rate so no need to have it live. I won't even mention Vagrant or Virtual Box to you as of yet. Also, what do you think the problem is, what have you tried to fix the issue, and what was the result of your trial?
-
@-BRAIDZ- A lot of us don't use or have the RC engine so it's kind of tough for us to effectively trouble shoot your code. And quite frankly this engine has been through the ringer and completely messed up. Like Coly said, your HTML is invalid right out of the gate id='linkage' like 8-9 times???? Your page is only supposed to have 1 id and can't be repeated. Now that's not the problem your having. You can possibly try printing out the MySQL error at the end of your queries you are running by adding something like: $sql = mysql_query($sql) or die(mysql_error()); And see if that prints out any errors
-
You can't really think like that at all or that's where you get confused. If you get a half decent IDE like netbeans for example(not my favorite...just an example) you can easily find stuff like functions, classes, and methods used and see what they do
-
mccode-v2 User Agent Tracking
KyleMassacre replied to TheMasterGeneral's topic in Free Modifications
I believe all of them do, I guess just IE requires registry changes from what I gathered -
mccode-v2 User Agent Tracking
KyleMassacre replied to TheMasterGeneral's topic in Free Modifications
Plus I'm pretty sure there is a much more efficient way of doing this. You should check for their user agent first and if they have one then check to see if it has changed. If it changed then change it in th database and if it doesnt exist then insert it. I don't think there is a point to change it on every page load. Another thing is is that User Agents can be changed on the fly -
mccode-v2 User Agent Tracking
KyleMassacre replied to TheMasterGeneral's topic in Free Modifications
Where is the user two step SQL? -
Or pass the function through ob_start: http://codepad.org/26bYcLhm
-
Why dont you try DO they are pretty good but you just need to understand how to set it up Here are some specs/choices you can do: [ATTACH=CONFIG]2131[/ATTACH][ATTACH=CONFIG]2132[/ATTACH] Feel free and use my referral code ;) it would help me a bit
-
Just an update, I believe this has been fixed. There was an issue with directory permissions during a migration and I didn't/don't have the appropriate permissions to change them through the FTP account. With that being said, I think there were some broken link errors before the move with a lot of the older modules that have not been updated in quite some time and I am not 100% sure on what the issue is. I believe Dave knows how to fix it and maybe he can enlighten me if/when the time comes and there is a problem with it. I just know something wasn't matching up but it could have been directory perms too.
-
Then how would you know I didnt fix it yet? And honestly I would advise the mod creator not to do it that way with your track record on paypal but if they wish to risk it then by all means
-
[MENTION=71308]Just Ace[/MENTION]: I am still waiting for your PM or support ticket with the details
-
message me with the modules you want i will try and get them to you as soon as I can. I am currently mobile right now so just give me some time. Also let me know the domain you want them licensed to.
-
Update information without refreshing
KyleMassacre replied to Royal Guardian's topic in Modification Support
Well if that's the case then what you need to do is just create an array of stats that you want like: $stats = array('energy' => $energy,'will' => $will);// just do the same with all the stats you want //next encode it using json $encodedStats = json_encode($stats); echo $encodedStats:"; That will output something the stats in json format Next you can use an Ajax call something like: $.ajax({ url: "thefile.php", dataType: "JSON", success: function(data) { //here is where you can load your elements with the data received by your file } }); When I get on my computer tomorrow I can maybe upload the script that Dayo helped me out with to get it and also with desktop notifications -
I wouldn't say it would be better. How you have it would be fine. offtopic though, if your using V2 why are you using mysql_*? And another note, I know attack_logs is a relatively small table but why are you selecting all rows? You could do something like: $count = $db->fetch_single($db->query("select count (`some_id`) from `attack_logs` where `attacked` = {$odata['userid']} and `attacker` = {$userid} and `time` >= (unix_timestamp -(60*60*2))")); if($count >= 2) { //give them their error message here }