Add to Google

Game.

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > PHP Programming

Game.

ewcreators
Well I am making a php game (can't release the link yet as i still have to get the basics up) and im currently working on the attack script.
Now i need a getting exp from the person you attack " formula.

Please make it good smile.gif

~Aldo

Reply

Soviet
Oh which program are you using for making this game? smile.gif And what type of game it is? Shooting,sport,action? smile.gif Tell big more about it..I still playing "not this age" games on internet and I'm very happy when I can play game which is made by one people with time and experiences.. And I love funny games biggrin.gif And are you making it on new page or it will be on some games page? And how long it will take when it will be finished? Thanks for answers for my questions smile.gif

Reply

galexcd
Here's an algorithm I used for a text rpg i built into an AIM bot a while back. I assume different players have different levels and this should determine the amount of exp he or she gets? Here it is:

CODE
((x*x)*1.8)+x*(1+(ceil(x/15)-1)*40)

where x is the level of the player you killed. But it really depends on what different amounts of experience cause your player to level up. You should really be able to do this stuff before programming a game... Perhaps instead of working on a lame text based browser game you should spend your time learning how to make algorithms.

Reply

ewcreators
QUOTE(alex7h3pr0gr4m3r @ Sep 18 2007, 07:58 PM) *
Here's an algorithm I used for a text rpg i built into an AIM bot a while back. I assume different players have different levels and this should determine the amount of exp he or she gets? Here it is:

CODE
((x*x)*1.8)+x*(1+(ceil(x/15)-1)*40)

where x is the level of the player you killed. But it really depends on what different amounts of experience cause your player to level up. You should really be able to do this stuff before programming a game... Perhaps instead of working on a lame text based browser game you should spend your time learning how to make algorithms.


thanks.
+
i know algorithms smile.gif

 

 

 


Reply

.hack//GU
QUOTE(ewcreators @ Sep 18 2007, 11:53 AM) *
Well I am making a php game (can't release the link yet as i still have to get the basics up) and im currently working on the attack script.
Now i need a getting exp from the person you attack " formula.

Please make it good smile.gif

~Aldo


If you attack someone, I don't really use some exp increment from that. I only increase exp after I kll a monster of something. Each of monsters have a set of exp predefined from the start.

Or if you really want to do something like what an MMORPG often use (an attack means increasing of exp), maybe just try to calculate percentage of hp lost of the monster and apply the percentage to the predefined exp from the monster itself.

example: a Minotaur 2000 HP costs 1000 exp
if you attack it for 500 HP, you deal 25% of its hp and you can have 250 exp from it.

Reply

galexcd
Well a good thing about using an algorithm is that instead of storing each individual exp gained by killing npc's you just store what "level" that npc is, and that way you can use the same algo for attacking other players.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. bot for mosiang - 34.08 hr back. (1)
  2. mosiang bot download - 48.36 hr back. (1)
  3. mo siang online bot - 144.70 hr back. (1)
  4. mo siang bot program - 168.65 hr back. (1)
  5. bot mosiang - 218.65 hr back. (1)
  6. mosiang bot - 27.00 hr back. (4)
  7. bot script for mo siang online - 275.48 hr back. (1)
  8. mo siang bot downloads - 47.91 hr back. (6)
  9. mo siang spear - 401.94 hr back. (1)
  10. mo siang online bot program - 559.78 hr back. (2)
  11. free mosiang bot - 586.32 hr back. (1)
  12. mo siang bot engine - 605.59 hr back. (1)
  13. download mo siang bot - 727.80 hr back. (1)
  14. mo siang bot mmorpg - 744.10 hr back. (1)
Similar Topics

Keywords : game,

  1. Advice For Online Game Please!
    I want to make my javascript game multiplayer (1)
  2. Javascript Game
    Free online dice game called "Greedy" (6)
    I'm entirely new to the world of web design and programming, but as I read through a book on
    javascript I couldn't help but play around with some of the sample scripts. Pretty soon my
    playing around became a full blown game based on a dice game called "Greedy" or "Farkle" in some
    circles. Well, it still may be a little rough around the edges, but it has offered me and my friends
    plenty of laughs and diversion so I thought I'd offer it up to the web community. The game can
    be played at: http://codybarringer.fortunecity.com/greedy/index.html Currently it do....
  3. 'king-war', A Free Online Strategy Game, Play Both In Web And Client
    play both in web and client (1)
    King-war is a free multiplayer online strategy game that situated in the continent of Carlos, a
    continent where five races dominate: Human, Undead, Elven, Beast and Monster. As you register you
    will be a monarch, who controls a kingdom with one castle, coexists with other players in Carlos.
    You should upgrade technologies, build structures and recruit armies with resources. You also should
    fight for more territories and resources by hunting, by adventuring, by attacking a castle, town or
    village. The game is available for web and client that both of the requirements for ....
  4. Word Association Game
    (2)
    Reply to the topic with a word associated with the word in the previous post. Example: Post 1:
    Apple Post 2: Green Post 3: Traffic Light Post 4: Road Starting word: Blue ....
  5. Whats Your Best Old Game
    Where can we get them now? (4)
    I remember playing Kings Quest III as a kid and it was awesome, it used to keep me busy for hours
    typing things in eg: get cup /laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0"
    alt="laugh.gif" /> I think that Sierra had some awesome games out at that time like Space Quest and
    Police Quest (I didn't enjoy PQ as mich as the other quests though). Another really cool game
    was Goblins and then later The bazaar Adventures of Woodruff and the Schnibble (Maybe one of my
    Favorites) It's one of those point and click puzzle games that can keep you busy f....
  6. Dead Space
    A new survival-horror-action game (5)
    Dead Space is a new Survival Horror Game based in deep space on board a mining spacecraft. (
    deadspacegame.com ). Recently voted the scariest game ever by EA Forums , ahead of the Resident Evil
    series and Silent Hill. I've played it , and it's incredibly immersive and terrifying. Every
    second keeps you on edge. I would reccomend you buy it if you own an Xbox 360 , PS3 or PC. It's
    easily worth the commercial success it's recieved /smile.gif" style="vertical-align:middle"
    emoid=":)" border="0" alt="smile.gif" />....
  7. I'm Thinking About Buying A Game For My Son.
    Help me out (14)
    Okay, I'm thinking about buying my son a few games. He is interested in aviation and war games.
    I found these games but I don't know if they are any good. QUOTE FSX (Flight Simulator 10)
    Plane game FS9 (Flight Sim 9) Plane game BF2 (Battlefield 2) War game COD4 (Call of Duty 4) If
    you know of any more. Please tell me. Thanks.....
  8. Free Video Game
    No Offers, No Strings Attached (9)
    Step 1: Go to www.goozex.com Step 2: Sign up Step 3: Find a video game that costs 100 points (I
    chose Tom Clancy Rainbow Six 3) Step 4: Request it, and it should come within a few days Most of
    the games that are 100 points are at least 2 or 3 years old, but if you lost an old game, or lost a
    manual to a game, this is a good place to get the game. I have Tom Clancy Rainbow Six 3 and I got
    it FREE from this site.....
  9. Ultimate Pvp Rpg - My Review On Monsters Game
    Browser-based RPG (3)
    Official Site: http://www.monstersgame.us/ MonstersGameis a free online roleplaying game (RPG)
    that is played in your webbrowser (such as Internet Explorer, Safari or Mozilla Firefox), in which a
    player can choose to assume the role of a Vampire or a Werewolf, in a war to become the best. The
    game is a PvP game, meaning a player plays against other people. GRAPHICS: 7/10 The graphics are
    very utilitarian, it's good as a browser based game. SOUND: 3/10 It's pity that there are
    not many sound effects. It's said that it will be improved in future versi....
  10. Play First Ever Interactive Game On Youtube
    Youtube Game!!! (13)
    Yes! You are hearing right! Now you can play interactive YouTube game over YouTube! Recently
    Hexolabs introduced first ever Interactive Video over YouTube! The Game is named as A Car’s
    Life. By interactive means, you can play the game on the Normal YouTube! Video Window!
    Amazing…!!! A Car’s Life is based on the Fact that while playing the game you have to click on
    the YouTube! Video screen as soon as a Click Logo Appears. Just click on that logo and you will
    automatically go to the next level. This is really a cool and amazing game developed by Hexolabs.....
  11. Age Of Empires The Conquerers On Hamachi
    "Unable to join game" (6)
    I have a hamachi account with my friends and we sometimes play aoe2 but for most of my friends i
    cant play with them because when ever i try and join there game it sais "unable to join game". Hva
    etried with turning both of our firewalls off at the same time while joining but even that didnt
    work. Whats wrong with it???....
  12. The Best Game Programming Languages?
    (29)
    What are some good programming languages to program games in? C++? /unsure.gif"
    style="vertical-align:middle" emoid=":unsure:" border="0" alt="unsure.gif" /> Thanks /xd.gif"
    style="vertical-align:middle" emoid=":XD:" border="0" alt="xd.gif" />....
  13. Nintendogs
    Anyone play that game? (5)
    It's not much fun. If you ask me. I wish you could use wi-fi on it though, so you could like
    meet other dogs. I think it would make it more fun. Don't you think? Nintendogs gets a little
    boring every now and then. Unlike the animal crossing games /laugh.gif"
    style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" />....
  14. The Endless Forest
    The best game I've ever played (2)
    I have found the best game EVER. It's called The Endless Forest, or TEF, or the Forest. Its an
    MMORPG!! (Massively multiplayer online role playing game. You make an account and chat with other
    people from around the world. Like RS except WAYYYYYY better!) First let me tell you that
    there are not that many people who play it so everyone knows eachother kind of, and on the
    game's website forum everyone talks to eachother and says like "oh, i saw u in the game!", and
    its a really welcoming and close-knit community, and you can talk to the actual main person w....
  15. Civilization Iv
    The Best Strategy PC game (8)
    I think Civilization IV is the best strategy game ever done. Warcraft III is cool too but there r
    just a few things that can be built or created. CivCity Rome is also great, by the producers of
    Civilization. /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" />
    /wink.gif" style="vertical-align:middle" emoid=";)" border="0" alt="wink.gif" /> YOU too give your
    opinion about the best strategy game ever done. /wink.gif" style="vertical-align:middle" emoid=";)"
    border="0" alt="wink.gif" /> /wink.gif" style="vertical-align:middle" emoid=";)....
  16. Game : Mario Forever 4
    (19)
    Publisher : Buziol Game Software www.buziol.pl QUOTE Super Mario Forever is
    really a classic Mario remake. Once again you strap on your wrench and hardhat and guide the chubby
    plumber through many skillfully made levels. The diversity of the levels is very impressive. You
    will have to get through levels ranging from underwater caverns to levels filled with hot lava.
    Version 4 may include unspecified updates, enhancements, or bug fixes. Click here to download
    ....
  17. Favorite Playstation 2 Game
    VOTE HERE!!! (35)
    I was just wondering what were some of the top favored games for the playstation 2. I liked the
    Ratchet and clank series, jak and daxter series, i liked the first kingdom hearts (havent played the
    second one), and i liked the Grand Theft Auto games too. My favorite would have to be the jak and
    daxter series mostly since the graphics were good, the gameplay was awesome, and the plot of the
    game was great. Vote for your favorite, and if you choose other please state what series or games
    that you liked.....
  18. Most Realistic Racing Game
    (18)
    What do you feel is the most realistic driving game? In my opinion Gran Turismo 4 is the best.....
  19. The Best Multiplayer Game
    Tell us which multiplayer game do you consider to be the best (67)
    Playing singleplayer is no fun. It's better when you compete with human brain. So friends which
    is your pick. Mine is Soldier of Fortune. The graphics are cool and the gameplan and team strategy
    required just makes the game a perfect choice for LAN gaming.....
  20. The Worst Video Game Plots.
    Not the game play (11)
    I think the worst video game plot would probably have to be the Super Mario games. I mean, yes, the
    games are great, mostly, but when you think about it, the whole plot is terrible. A plumber and his
    brother get sucked down the drain, into a mushroom kingdom, and they have to save a princess from a
    dinosaur type thing. /huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif"
    />....
  21. The Best Car Game Ever?
    (34)
    what do you this is the best Action game ever???? i think "Mafia" is the best i tried alot of
    games but mafia still on the top >Story >Game play >Graphic >Evry thing.... what is
    your opinion?....
  22. Good Rpg Game Besides Final Fantasy
    What are some other good RPG games besides Final Fantasy? (15)
    Hi all, Does any1 know of any good RPG games for PS2 besides Final Fantasy, because i've had a
    hard time finding other good RPG games because only ff is good. If you know any can you please PM me
    or just post here. Thanks. Rock on Final Fantasy.....
  23. The Best Game?
    (12)
    I will cut to the chase. I have played many games in my life and upon playing the new call of duty I
    was astounded with the amazing graphics and great gameplay. So I ask you do you think CoD is the
    best game ever?....
  24. What's Your Fav Adventure Game?
    being adventurer.......fells being alive (31)
    i'm almost shure that is got to be Tomb raider!!!!!!!!!!!!!!!!???? ha??? isn'it?? anyway
    that was the adventure game that i liked best, and one of the the games that managed to keep me busy
    for lots and lots of days were can i put it?? :::the adventuring spirit was never more alive in me
    like it was when playing Lara Croft's role anyway i told u what was mine, now it'd your
    turn........................
  25. Your Favorite Card Game?
    Tell about youre fav game here! (41)
    My Favorite game/games are: Uno Mad Gab Skip Bo Slap Jack And Rook Waz yours? Edited as
    reported. Please use proper English words. ....
  26. Good Books On C++ Game Programming
    I need some books! (3)
    I am looking for some good books on game programming in c++ if any body out there has any
    suggestions feel free to post them. Oh by the way should i start out with an easier language like
    BASIC or should I just work on c++. Ineed some help people please reply fast. Tahnx
    David H /biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif' /> ....
  27. Best Racing Game For Pc
    Opinions wanted (19)
    My friend wanted to buy a driving PC game but he doesn't know that much about racing games. The
    choices that we've come up is: Grand Turismo, Midnight Club, and Burnout. Is there any other
    games that would be really good for PC with wheel/brake? Thanks for your time.....
  28. Talk About Favorite Online Games
    GunBound is a free, multiplayer game (35)
    GunBound is a really fun and addictive game. It's free to download at gunbound.net It's
    based on the original game called Scorched Earth. Players choose a tank, known as a mobile, and get
    to choose a limited number of items that can be used. It's a two-dimentional game, very
    colorful, good graphics, and good music. The players aim and shoot from a choice of three different
    weapons, each tank/mobile having its own unique shots. Different mobiles have different shot types
    and defence types, giving certain mobiles a small advantage or disadvantage over cert....
  29. What's Your Favorite Game System - Console
    select one from each poll (186)
    i'm a computer game fan. it's expensive but more useful. it can be use for many purpose for
    your study and entertainment. much easier to use and most common to more people.....
  30. The Naruto Online Game
    Ninja, online, game, naruto, mmorpg (42)
    The Naruto Online Game Learn the way of Shinobi as you start as an
    aspiring Academy Student. Fight your way to the top to become the Kage: the single shadow that
    protects your village from any danger, or become your village's worst nightmare as a wandering
    Outlaw of pure darkness. Hundreds of Jutsus are at your feet, ready to be called upon in the any
    mission; from the easiest of errands to the most lethal of enemies. Learn to harness the Bloodline
    passed down to you, or awaken the Demon that slumbers within. Can you handle the pressure? O....

    1. Looking for game,






*SIMILAR VIDEOS*
Searching Video's for game,

*MORE FROM TRAP17.COM*
Similar
Advice For Online Game Please! - I want to make my javascript game multiplayer
Javascript Game - Free online dice game called "Greedy"
'king-war', A Free Online Strategy Game, Play Both In Web And Client - play both in web and client
Word Association Game
Whats Your Best Old Game - Where can we get them now?
Dead Space - A new survival-horror-action game
I'm Thinking About Buying A Game For My Son. - Help me out
Free Video Game - No Offers, No Strings Attached
Ultimate Pvp Rpg - My Review On Monsters Game - Browser-based RPG
Play First Ever Interactive Game On Youtube - Youtube Game!!!
Age Of Empires The Conquerers On Hamachi - "Unable to join game"
The Best Game Programming Languages?
Nintendogs - Anyone play that game?
The Endless Forest - The best game I've ever played
Civilization Iv - The Best Strategy PC game
Game : Mario Forever 4
Favorite Playstation 2 Game - VOTE HERE!!!
Most Realistic Racing Game
The Best Multiplayer Game - Tell us which multiplayer game do you consider to be the best
The Worst Video Game Plots. - Not the game play
The Best Car Game Ever?
Good Rpg Game Besides Final Fantasy - What are some other good RPG games besides Final Fantasy?
The Best Game?
What's Your Fav Adventure Game? - being adventurer.......fells being alive
Your Favorite Card Game? - Tell about youre fav game here!
Good Books On C++ Game Programming - I need some books!
Best Racing Game For Pc - Opinions wanted
Talk About Favorite Online Games - GunBound is a free, multiplayer game
What's Your Favorite Game System - Console - select one from each poll
The Naruto Online Game - Ninja, online, game, naruto, mmorpg
advertisement



Game.



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE