Jump to content
MakeWebGames

Ayern

Members
  • Posts

    37
  • Joined

  • Last visited

Everything posted by Ayern

  1. No problem! I don't know how your tutorial system progresses but I would just have a system of check statements for "this building is built, now tutorial code progresses" that would be used in the same structure as the below idea of prerequisites on upgrades. The tutorial is just a background "upgrade".
  2. maybe put a requirement in so they can't upgrade until they need to, or have bought what they needed before a barracks, prerequisite or some such like that.
  3. I...felt like it. That's all you had to say? :( lol
  4. Here's a look at some changes to the game... [ATTACH=CONFIG]1538[/ATTACH]
  5. maybe in your cron you need a foreach($[uid] as user){ do cron } type of thing for user selection?? is this your problem or what is supposed to happen that isnt?
  6. okay the first script ... looks to me you are missing some ( parenthesis ) around stuff like this $prize=$cor1+$cor2+$cor3+$cor4+$cor5; I think needs to be $prize=($cor1+$cor2+$cor3+$cor4+$cor5); but i might be wrong. Also i think you need more quotes in your SQL around table name and your column names, single quotes. so you have them pick numbers in the script and it updates their users table with the lotto numbers then the cron runs and clears the current lottery numbers and checks user table(s) for any matching picked numbers and rewards each person with their lottery winnings? maybe... ??
  7. the grinding functionality has evolved into "classes" and Grinder is one of them. Skinner, Leatherworker, Miner, Smelter and more classes to level up and each perform specific functions in relation to each other and the game mechanics of fighting other players in pvp. The live version will no longer receive updates as I cannot rely on the free servers for up-time in addition to my dsl wifi connection so im using WAMP server and i've dramatically increased development speed. I forgot the only reason I signed up and started using the online servers was to test crons, and they worked but i dont need crons anymore for development purposes. So, in light you can play the demo version of the engine 0.5 alpha and I will be continuing coding throughout my mundane daily life of being a house dad. If you would like an update you can PM me on here and ill update the files to whatever current stable version for testing. When i'm satisfied with all the different aspects of the engine and what it lays out for any generic game I will probably release that version stripped of all db relations and just have similar generic names for distribution..
  8. Ayern

    DCSG Hosting

    kudos to you and good luck to your service Death! I have a couple good friends from Everett btw!
  9. Oh yeah? You and your 2 total post count think so? You're probably reece thinking he's clever signing up for yet another name on this forum. :O
  10. and most of sunday morning either. lol.
  11. I hope the text-shadow is sufficiently subtle :P I'm very glad you like it and i'm interested in more of your input too. Soon i'll be writing the rest of the class areas besides grinding for the "Grinder" class. There's going to be a "Skinner" for leather/hides to use as a "Leatherman" to make leather armor. "Miner" for ingots. "Armorer, Weaponer" use ingots for Armor and Weapons respectively which is going to be a cheaper way to get units equipped and with better gear and then the special "Herbalist" will find herbs and use them to create timed buff potions. All of these classes will have their own levels and experience representing their progress just like Grinding right now. The layout will basically be the same with buttons on the bottom and output on top. Classes will be unlocked when the previous one reaches a certain level giving the user more to work toward. All of which can wait until i'm less drunk.
  12. Im sorry wrux :( If I don't then your account would be broken when trying to view new stuff. This will happen any time something major is added or removed from the database so all accounts are created equal. Again i'm sorry but I thank you for being an alpha tester and would like to see you back in it!
  13. Some content changes and rebalancing. Buildings page is 98% complete. Need to add the bonuses to appropriate pages and code in the barracks as well. Material gathering is coming along better, I think it is pretty close to where I want it. Swapped turns,gold,food update to 15 minute intervals instead of 5. Lots of other tweaks I can't even remember...
  14. If you could put 2 hours of design into my css I think I would love you forever. Not to mention promote the hell out of Splash too. I feel like a fumbling fool inside of a style file.
  15. Well I suppose if more than one person says something its more than a matter of opinion. Changing. Sorry guest I can't do skype. DSL wireless and its raining.
  16. Hazard - thank you for your quality feedback. I did have everything on user entry..and then i switched it to the buttons. First mob button gives a little exp Second mob button unlocks after enough exp gained - gives a little more exp per click Third mob button unlocks after exp gained - moderate exp per click Last mob button unlocks roughly 1/3 to your next level - mass exp per click If I simply let the user enter they would like to grind 1,000 times and if 754 mobs in they level up - - when and how would i throw in a check to see if they have enough exp to level up as I dont want to reset there exp to zero if they have an extra 346 exp after gaining 1000. So I made it buttons and the game balance seems to fit. I suppose the clicking is excessive on the server and player but I would like the gameflow to not increase in speed and I fear user entry boxes would do just that. Thanks Wrux. I like the shadow on the header/nav. Much less cut and dry then just text. As I am no CSS wizard perhaps you could point me in the direction of a quality CSS tutorial or give a suggestion? I've considered image buttons but when i get everything i want coded in I want it to be as lightweight as possible, i didnt think shadows would be so cumbersome.
  17. Hey guys I would like to ask for any free time you might be willing to lend to the development of my game Grindfield @ http://www.simplerts.netai.net . Maybe even also a collaborative partnership with any Trusted* forum members or those with recommendation from trusted members to help develop more code / modules fix deprecated things like mysql_ . If anyone is interested in collaboration you can inbox me here. Anyone is welcome to play and give feedback here or on the forums there. Thanks in advanced for anyone who gives it a go! -Ayern Edits: 5/22/14 Working on buildings. Added db table `building` with Castle, Barracks, Wall and updated registration.php to include it Materials can be found while grinding mobs for experience and use to upgrade buildings. Organic Metallic Radioactive & Darkmatter Castle levels unlock research into food and gold income upgrades Barracks levels unlock research into better damage and defense for PvP Wall levels increase PvP defense and decrease unit loss*
  18. Ayern

    who to trust

    Yeah that's good form, some past actions research for determination
  19. You're correct Kyle it was returning 0 and I wasn't using the function right. I was trying to use it as in-line code instead of using its result of the comparison. Added materials/resources to find :)
  20. Ayern

    who to trust

    I suppose you can only trust who you deem worthy of your trust. your labor. your sweat. your tears and maybe some blood. Im always willing to toss my 0.02c in the pot though!
  21. Well see i'd put some if logic like that into a function and if true it should call reward("You can level up now"); if false do nothing. }else{ do nothing. which, but I would still keep getting a false and it will call the next { which has reward(); even if exp ISNT greater than exp_needed
  22. This is reward(); function reward($string) { echo "<div id=\"reward\">" . $string . "</div>"; } Nothin special. i havent tried == 1 yet, but ive been getting a false even when passing variables that should come out true.
  23. I suppose just leaving it hard-coded is fine still, I don't need the function but thought it might make things run smoother.
  24. Even more updates and re-balancing on the entire engine to make room for quests and mobs. It seems including grinding has broadened my range of what I thought game engines were capable of.   On another note... 500+ lines of code and a lot of if statements, I was wondering if anyone could help me with passing variables through functions as parameters? I've tried a few different ways but can't seem to get the right result. for instance I want to check if experience is greater than or equal to the maximum value stated in the if statement that would contain the function. i have tried $stats['experience'] >= $experience_needed is the in basic if statement with mysql update and then displays a button in html below. I would like a function to do this. needtolevel($stats['experience'],$experience_needed); function needtolevel($exp,$exp_needed){ if($exp >= $exp_needed) { reward("You now have enough Experience to increase your Adventurer's Level!"); } }   also would display a button to level up. I really would like to know what i'm doing wrong.. anyone have tips for this?
×
×
  • Create New...