
lucky3809
Members-
Posts
1,115 -
Joined
-
Last visited
-
Days Won
3
Content Type
Profiles
Forums
Events
Everything posted by lucky3809
-
If you're talking about domain, in your cpanel on your host there is an icon that has "Redirects", you can do by that method also.
-
I am not English! So I am not an expert in English! I am an expert in my own countries language! blah blah...<== you know it!! ha ha Sorry had to translate... It is easy you know to use google translator if you do not know a word in English. As I take it you are from an Asian country. Most Asians are smarter than what you are typing like... Just saying...
-
What was the actual motive behind hacking this game, other than someone may have spammed the link to the game?? Just childish IMO... I don't encourage spamming game links in other games, but in EVERY single game there are links to other games that do get spammed and there is nothing you can really do to prevent it from not happening, if a player seems to venture out to that game, than that means you are not doing something correctly in your own to hold your players interest in your game, I have always thought of it like this....
-
I made a comment awhile back long time ago about passwords being mailed back like this game does, and many users of this forum differed with me on the subject. I have read over and over on many security websites, and hack websites, that when you sign up to a website, and you hit the forget password, and if the exact pass is sent back to you in text, and not a new password or link to change it, then the website has many vulnerabilities security wise. So for many years any website I sign up to I will hit the forget password to see how they send back a password and pretty much if it's the same one I created, I don't bother anymore with that website. Many of you may have a different theory about it, which is fine, but I rather be cautions around websites that are vulnerable to an attack hack wise...
-
Can't wait to see it when it is finish, booked marked it till then! :)
-
Question? Have you tried to see if $gangdata in global is actually working such just echoing the gangPIC to see where your error is?? Usually it helps to strip the function and only echo the part you don't see to determine what the error is. function gang_view() { global $db, $ir, $c, $h, $gangdata; echo '<img src="'.$gangdata['gangPIC'].'" alt="Gang Picture" width="468" height="60" />'; }
-
Coders here can do it, it's just an over haul (time consuming) in actually doing it because as I stated you would have to modify every page where exp & level requirements are, so you basically are re-scraping the whole engine to actually have this done. Unless you used the code bit you PM'd me, like how the rank mod is designed, but you will also still have to change the queries inserting the new (requirements) into the database. Also most coders here knows what they are worth and most are not on the cheap end for this type of mod it would cost the same as someone going through your game and securing it IMO. If you are just wanting requirements for like job or course than you would only need to modify those pages, but if it's for everywhere in the game than mostly every page where exp is inserted or updated.
-
Yes, this can be used for any page as for it's a function, you would change this line instead of mailbox.php you would put events.php list($pagertop, $pagerbottom, $limit) = pager(15, $count, "mailbox.php?" . $addparam); You will also change this query to that of the event table. $query = "SELECT m.*,u.* FROM mail m LEFT JOIN users u ON m.mail_from=u.userid WHERE m.mail_to=$userid ORDER BY mail_time DESC $limit"; and this one... $res = mysql_query("SELECT COUNT(*) FROM mail WHERE mail_to=$userid") or die(mysql_error()); event and mail are very similar in table structure if you have not added to any of them. Also this very same pagination is used on roguevampires.net also lol.
-
actually one of them was badly coded, but it was only the event part and the header code. What you need to do is re scrap the code, and in your users table make another field "marriagewill", and than where maxwill is echo replace it with marriagewill in register set it the same as maxwill, then when you marry someone update marriagewill to the spouse with the most maxwill, then when you divorce update it to that of your original maxwill as for estate i believe you do an edit but not sure what part, I made a marriage mod that is basically a replicate of roguevampires. and that is how I worked it by adding that field. Maybe I dig through my usb and find it but it's not advance such sharing spouses money the only thing that is shared is maxwill.
-
Also sometimes it helps to check your own work, such checking why you would have used $ir or $r in the first place, just because in mccodes those two are the main $vars from two different queries, doesn't mean they are joined with the gang table, so you first want to look at if they are selecting the gang tag or joined to the gang table. If not than you will have to join the gang table to the users table, or go by another method such example using $ir var.... a=$db->query("SELECT gangPREF FROM gangs WHERE gangID='".$ir['gang']."'"); $b=$db->fetch_row($a); echo ''.$b['gangPREF'].'';
-
First ask yourself this..Is the gang tag selected by the query that is using the $ir, $r variable? If not than that would not be the $var used.
-
You should not only change the class to Myqli you should also start coding using mysqli so you are familiar with it and use to using it. x10hosting just changed their php I noticed last month which now gives errors when you use mysql in the error.php because it's all deprecated, but my main host has not upgraded yet to it. Guess it also depends on your host.
-
What part are you not getting??? If you explain what part you do not understand we can help you learn how to do it. Because you are going to want to learn anyways how to install engines in case you ever want to use another one... You upload the zip file to the FTP (File Manager) than extract it than you open mysl databases icon up and create a database and username/pass than you select the username and link it with the database and give the privileges to the username. Than you go to your domain name and add /installer.php than there are instructions what to do next, which most host is localhost but some web host uses a different one, than you will also enter in the database name and username and password, ect...When you are finished and you click submit it will tell you if it successfully installed or if there were errors.
-
I have never seen Raven script because it's a copy of mccodes, but you can sign up for free hosting at x10hosting.com for free, if Raven is anything like mccodes and is installed the same, then you would make a database and user in phpmyadmin on your hosting account, than you would upload the files, and go directly to the installer.php and there should be steps where you than add in your database name and username/password that you created in phpmyadmin. It should also tell you if you have successfully installed it. Seeing how you are new to it, I would highly recommend using the free lite mccode engine, to get yourself familiar with it.
-
Actually I do know what you were wanting, your wanting levels to earn so much exp in game. Which is why you would use min level and max level because you stated you did not want every level to have the same exp but in blocks. So level 1 would be min level, level 5 would be max for that block only, than you would add the exp formula... I was stating making a table for it so staff could adjust it at anytime instead of doing it like the rank function... My bad that I code differently than others... The table I would set up was table--------- levels_exp fields-------- id_block min_level max_level exp This was not all because you would have also had to altered the users table by adding field "block", then when the user reached a certain block it would insert the id_block... allowing that user to gain that exp/requirements in that block....
-
My bad, I just glanced at the topic sorry. You can still manage to do it by making another table and adding those fields than LEFT JOIN to your players database table.
-
I started with a simple login script which can be found on numerous searches on google. php and mysql is the main things you should learn, than css ect after you get those two down. Also there are some good tutorials if you search php tutorials.
-
Just add to job table with min_level,max_level,exp; exp formulas shouldn't be that hard.
-
Not necessarily needs a field in database, if he is only allowing one to be stored in the directory of images/username I take it he is naming the image the username, than just echoing the username field where the image name is echoed.. such <img src="/images/username/".$ir['username'].".png"> OR <img src="/images/username/".$r['username'].".png"> where ever he is echoing the image.
-
define it as 0 as default in your mysql table with that field.
-
I was referring to,installing the mccode engine, then simply calling it a done deal. As Ben has done this several times... I don't quite get why he would need to even use mccode engine, just for a meeting place from his youtube, a simple chat or forum would have been better. But guess that is my opinion.
-
Mine is the crappiest lol. I live in a small town where they don't have over 1.5 mbps http://www.speedtest.net/result/3819325365.png
-
Even for test reasons you do not need that much! lol whatever works... Just an ordinary same old mccode engine game. Seen a few things done, but nothing unique about it, rather you're new or not, should never make a game for the general public until it is a full done game.
-
browser, because the majority of the time I am on my laptop, not much my mobile.
-
Thank you Kyle, I wasn't even thinking about that, the page helped what I was trying to do!!