
galdikas
Members-
Posts
139 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by galdikas
-
mysql_query("INSERT INTO cxfer (from,to,amount,reason) VALUES ('$userid','$toid','$amount','$reason')") or die (mysql_error()); Anyone can tell what is wrong with this statement??? I get this error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from,to,amount,reason) VALUES ('1','1036','1000','1000')' at line 1 I really dont understand whats wrong
-
So you're the owner of the game... and attack the people that registers for exp?????
-
alternatively you can extract($result); Team rating: $name_of_column_in_db;
-
I use CONText.. Only one I ever really used.. Probably PHPAcademy's fro youtube influence lol
-
I wasn't aware of the first issue! Thanks! :) And second one... I basically had a jailcheck function. So if fail a crime, you will not be able to commit it again.. But the other day I accidentally deleted it, and never fixed it. I probably should of, but was not a priority lol Ill write the function again, now first want to finish the hardware store, create hospital and then pharmacy. Then I will rewrite the same function that will work for both hospital and jail :) And constructive criticism like yours is always MORE THAN WELCOME ;)
-
Thanks a lot for good words! If only I had more time available! :) Well ill get there eventually :)
-
yeah that is what I want to achieve... I changed to thing with divs.. And instead of it appearing on the same page, i get redirected to new page.. Not sure what else to try... Probably instead of including a file that fetches the announcements I will put the code in the index file, I imagine tha should work alright. So should iframe be avoided generally? Or is there some very specific use for it?
-
so this would basically do the same thing??? I should of posted here before I did all the thing.. I knew I will run in to some sort of problem with iframe lol well hopefully will not take ling to change :)
-
I have created this app for viewing some stuff like announcements on main page. You can see it at http://www.galdikasproject.com So to display the actual announcement i used iframe, just incase if actuall announcement is larger than the height of app, it would just add a scroll bar. So problem is, that in IE, even if scroll bar doest appear, instead of empty space there is white stripe. Any way to color that white stripe so it is the same collor as the rest of the background????
-
Added this is suppose app or widget to main page! Now once someone visits website, they can instantly see some info about whats going on in the game.. (Users onloine, top players, latest announcements+ trying to think of more things so it would instantly capture attention.) What yous think about it so far? :)
-
2 million for a basic ring???? Man your economy is really messed up lol And on topic.. I think that guy is gone :) He said he will check it out.. and I was willing to help out, but he seems to have lost any interest lol
-
Some work required for my website. I try to do everything myself but not always possible. And I think now I have coded enough stuff for someone to determine. So few tasks that I am looking for: >>Pagination for mail, events and jail. >>Going over my files to check for security holes, and generally any stupid things I have done (Well I think I am writing too much code in a sense that many of the things i coded could be done with less code etc..) Well there is few more minor things.. But we can agree to something after I pick someone :) So please post your price here + anything else that you think would help me to pick You!(Previous work etc...) If you need extra info post here as well :)
-
@Joashua I mentioned that reason in initial post... So I suppose that is the main and only reason really?
-
Ok.. I haven't played much different text games. To be honest the only one I have ever really played is torn. But all games had one thing in common. None of them allows same user to maintain more than one account. I don't really see the point in it. I mean I can understand that any interactions between accounts that belong to same person should be off limits, due to potential abuse of various aspects of game. But my question is.. What are the reasons of not allowing having multi accounts? i mean if someone is bothered enough, and got the time on they're hands to maintain 2 different accounts, so why not let them? Well just with condition that there is no interaction between the 2 accounts. Is is that just it is easier to enforce bans on creating multi accounts than it would be to monitor all the activity of multi accounts? What are your views on this??
-
Thanks :) I would of googled it myself... But wasn't even sure what to look for lol
-
Ok.. So I want to make usernames case senisitive. Just to prevent people from selecting similar username, and the imposing as someone else... Currently only way to choose username is during registration.. I think relevant code is following: if ($passed_verification==1) { require('jungtis.php'); $db_username=mysql_query("SELECT * FROM users WHERE username='$uname'"); $db_uname_check=mysql_num_rows($db_username); if ($db_uname_check==1) { $taken_username="Username $uname is already taken. Please choose a different username!"; } So if query returns any rows.. It will say that username is taken. So if we say that my username is Vytas. and someone decided to register as vytas or VYTAS or VYtas etc etc..., that query will not return any rows, and user will be allowed to register. So what should i do? Regex? or maybe something to do with strpos???
-
Ok so.. When I have issue I'll open new thread in PHP technics. Probably you're right, it will be better than one long thread :)
-
Thanks a lot! this seems to be working correctly :) Would it be ok for me to start a new thread in Technics->PHP forum, where I could post any requests for help? Reasoning: 1. I want to keep this thread for general discussion about my project. 2. That thread after a while would become a good resource for any other starters. 3. It wouldn't be cluttered by my posts with updates about my game. I think it would be a quality thread. UPDATE: Driven by a furstration of not knowing how many people visit my site created a users online section. It shows users that were online in last minute, hour, and 24 hours period :P
-
I really like the graphics... Did you do them gun images? :)
-
Ok.. I have 'borrowed' this script from MCCodes lite version $la=time()-$laston; $unit="seconds"; if($la >= 60) { $la=(int) ($la/60); $unit="minutes"; } if($la >= 60) { $la=(int) ($la/60); $unit="hours"; } if($la >= 24) { $la=(int) ($la/24); $unit="days"; } doesnt work properly... Works ok for firs minute. The after 59th secondm it turns into 1 day ago. The after second minute turns back in to minutes.. Well something messed up... Anyone would be able to help me? :)
-
Ok.. no progress for couple days (was busy with lol).. So today added Big Bud's gun shop. Everyone's money is set to 10k(and if you run out of that.. go ahead for a game of slots... or maybe pickpocket someone in the city? ;))).. and plenty stock in the shop, to give it a test run. So try it out please... and let me know what yous think :) GENERAL IDEA: once game is started for real... a default stock will be added.. maybe 100 or so. And that will be all availble. The stock will decrease as players buy weapons. And will be replenished when players sell unwanted weapons back. Additional weapons will be created through jobs/companies (no items will be added to the game out of the thin air well except for the first 100 or so lol). possible crimes to be added: >Shop lift (average difficulty); >Robbery(quite hard); Shop lift self explanatory... And robbery you will get a random amount from days takings (from what was sold in the shop in any 24 hour period). It will be very dynamic crime. On the start of the day outcome will be small. Then further in to the day it should get bigger. And it will further expand as more players come (more people spending money on weapons will result in bigger gun shops takings.) As well if no people buying weapons you wil hardly get any money from robbing the shop (just like real life.) At the end of the day all takings (if any left lol) will be deposited to city bank account. And from certain percentage of all deposits ( From player accounts and ingame company accounts. People will able to get loans). There will be no as per say in any other game.. Where you click Crimes in sidebard.. and just mindlesly click "Try again" till your nerve/brave goes to 0 lol Every crime will be as close to real life as possible :P
-
I am currently coding a guns shop my self... I can share source if you want :) By the way: Check it out at http://www.galdikasproject.com Register there, and then log in.. Go City=>Big Bud's gun shop to see what I've done so far..
-
what do you have?? CSS layout? .psd file? To be honest you should start at learning HTML and CSS.. if you know it, you shouldn't have a problem with that.. and if you don't maybe not yet time to be creating a game ;)
-
UPDATE: Events added. Whenever you get pick pocketed you now receive an event! +some other behind scenes tidying up! :) Check it out! ;]