Jump to content
xisto Community

Feelay

Members
  • Content Count

    275
  • Joined

  • Last visited

Everything posted by Feelay

  1. Hi Doctor Nick!Nah just kiddin Welcome to Xisto ^.^
  2. hmm.. I am also using XP, and It worked for me..I am not 100% sure.. but before I had service pack 3 (after it came out), I couldn't install things.. I was running service pack 2.. I don't know if you are using service pack 2 or 3.. but if you are using 2, maybe you should try updating to 3.
  3. Hi! I wanted to know a "who's logged in 'counter'".. It's very easy to make it write the name.. Just change some value (let's say "logged_in" to 1) in the database, when the character login. But how do I do when I want it to change back to 0, if the user logout? many users just close their browsers.. It's easy to add it to a logout script.. just make an update query.. but how do I do, so that the value change back to 0, when the user close his/her browser? And.. another thing.. I am having this small problem.. Warning: Division by zero in X\XX\XX\XXX\XX.X on line 27 This is line 27, some rows above, and some rows under it.. $password=$userid['---'];$email=$userid['---'];$admin=$userid['----'];$health=$userid['----'];$spirit=$userid['----'];$stamina=(int)($userid['----'] / $userid['----']) * 100 ; # LINE 27?> I include this file, to my index.php file.. and I get the Division by zero error.. I think I am using the "int" wrong.. any Idea how I can fix this?
  4. hehe ^.^ your welcome you can add some HTML / PHP code to the index page, to make it look better :oAnyway.. Good luck with your site :mellow:Best wishes //Feelay
  5. Just create a new index.php file in notepad and then upload it to your site
  6. Trust me! You DON'T want to try it.. you will like it, and sooner or later, you wont be able to stop playing it.. That game is addictive. It's dangerous !
  7. hmm :S this is really strange :S but for some reason, I tried to follow the portforward tutorial again, and it worked :S I THINK that it didn't work before, because I wrote the wrong computer IP-address. (192.168.0.2). I THINK that's what was wrong, because that was the only thing that I changed.sparkx, you can try to go to portforward.com and find your router. then search for a link that tells you how to portforward Apache with that router. They said I need a static IP, but that's just *BLEEP*..
  8. Hey!When I changed my ISP, we had to buy a router, because the broadband they gave us, only had one port. And now, I don't know how to port forward.. I have a D-Link DIR-301.I've tried to follow the instructions for WAMP(or Apache I think it was), on portforward.com.. but with no success.. I still can't connect to the server. I am using the IP that I get on whatismyip.com.. any idea what I have to do?I have 3 computers connected with a cable, using Windows XP, and 2 laptops, using windows Vista, that's connecting to the router, wireless.My PC is running Windows XPThank You //Feelay
  9. Feelay

    3d And Php

    hmm.. how can I make it like this..when I attack the player, some math will happen in a variable. and another scene will appear. but the page will NOT reload. only the scene.. There must be some way to do it.. JavaScript, XML, DOM?? any language?and can someone please be kind and tell me how xD
  10. OK.. the time on my PC is 11:31, while the clock here on Xisto shows 12:10 ... I have fixed all the GMT things.. but I can't understand why it is 40 minutes later than my PC on Xisto..And BTW.. where can I post when I have problems with the forums xD?? there is NO place that I can find on the forum..
  11. I've changed some things in the tutorial now It depends from person, to person I prefer to learn about the soft wares and things, that I am going to use, before I move over to the more complex things. Done I don't know CSS yet, but thanks for pointing that out Done Thanks for the comment And yeah. that's true Listen to that guy in w3schools, they say that XHTML is a stricter and cleaner version of HTML. I'm going to add somethings to the tutorial. (CSS, and make them choose between HTML and XHTML). Done haha why not make it a rule to read this before people ask about how to make their own text game Thanks for all your comments Best Wishes //Feelay
  12. oh, and if you get less than 0, while you are hosted, your page will get inactive. I prefer that you save up to about 50 credits, and then "buy" the 10 credits package.. then you will have 40 credits (= 40 days), and you wont have to stress posting to keep up with the credits =)
  13. I would prefer learning PHP/SQL and some advanced CSS/HTML and coding your own that's the best thing to do because you'll have full knowledge about it, and it is fun coding it
  14. the will decrease by one, everyday, from the day you start to get hosted.And welcome ^.^ :mellow:regards //Feelay
  15. Please comment and rate, after you finished reading! ################################################################# Change log: Aug 22 2008: The Tutorial Was Created. V1.0.0 Aug 30 2008: Added XHTML and a small CSS part. Also corrected some small things and added this change log. V2.0.0 ################################################################# OK.. Many people here want to create text based games. Many of you ask us here on the forums: "how to create a text-based game", or "can you do a text-based game for me".. I think you guys should try to learn some basics first, and then create one on your own.. Then you wont miss all the fun I don't blame you guys.. I think that everyone, or at least many of us, want to create a text-based game. I was once like that.. I knew nothing, but pure HTML, and thought I could create a text-based game. But I was wrong. Before I continue, I should tell you that this IS NOT a tutorial on HOW to create a text-based game. This post will only teach you what you need, to be able to create one. The first language you should learn, is HTML, and then XHTML. I am going to give you links to both languages, and some information about them, and you'll have the opportunity to choose. Because XHTML isn't really "a must". But it can be good to know.. So I'll give you the link for the tutorials, and then you can decide if you want to use it or not. OK.. The HTML language.. HTML is the language that you make the page design with.. OFC I don't mean creating the pictures for you.. If I define the HTML word on Google, this is what I get: That should be enough, because I can't explain it better myself Like I said, you should try to learn some HTML. So here's the best link I know for learning HTML: W3Schools HTML Tutorials but OFC.. If you don't like it, you can try Google searched "tutorial:HTML" on google. Lots of other links Now that's about HTML.. it really shouldn't take that long time to learn.. maybe 1 day (about 12 hours) if you learn fast. Could take up to a week if you don't learn so fast. But don't stress! You have plenty of time learning it.. after learning HTML, XHTML if you want to. If I define the XHTML word on Google, this is what I get; one thing you should know though, is that you should know HTML, before you move over to XHTML.. because XHTML, is a newer version of HTML, and if you know HTML, XHTML should be easier to learn.I can't tell exactly how long time XHTML will take to learn, but it shouldn't take more than 1 or 2 weeks. Maybe even less.. So.. here are some links.. W3schools XHTML Tutorials WebHeadStart XHTML Tutorials After you learn HTML/XHTML you can, if you want to, learn some about MySQL databases. Now I am not telling you that you should learn everything about it but if you want to, you can at least learn what it is Here is a good link W3Schools, MySQL databases Or, if that isn't enough, you can find something on Google . Anyways.. When you have a basic knowledge about WHAT MySQL is, you should learn PHP. PHP is the hard part.. If you learn REALLY fast, it can take up to 4 days, before you have basic knowledge about it. But if you don't learn so fast, it can take 2 months, and even more, before you know the basics. On this site, almost everything is explained about PHP. This is actually one of the best sites that I've found, that teaches PHP. They have good examples, and they explain them very good. Here you have the link Tizag PHP Tutorials You can also find PHP/SQL tutorials on the same page. SQL is the language that you use to be able to use/insert data into databases. Now when you learned these three things, you can continue if you want, with JavaScript and other languages. But those are just extra stuff, if you want to make advanced games, with advanced functions/design. Also, you should try to learn CSS. That's something that will help you with the design for your page here is a link: W3Schools CSS Tutorials Haha I am sure that I missed something Anyways.. I don't really know if this fits into the tutorials section.. because it isn't really a tutorial.. It just help the people out there, that's making me go mad sometimes (like I did once to other people ) Actually, I don't really know if it fits here either. If it don't, I am sorry, and can an Admin or Moderator please move it to the right place From now on.. you can't say that you didn't find anything when you searched .. Because here you go. It is rare to find someone that will make the game for you. It is better if you learn to make this by your own.. If you don't want to create your own game, you shouldn't have one (sorry for making it sound mean, but that's how life is =/). Stop asking "How to create a text-based game". Because here you go.. more than this, people wont tell you. They will just tell you to go and learn on your own . If you have any questions about this, or if you find anything spelled wrong, tell me, and I'll correct them Please be kind and respect that I've made this tutorial, and that it took some time. I would appreciate if you don't copy this, and paste it on other sites, and say that you made it by yourself. because you didn't. And thank you for commenting and rating V 2.0.0 Made By Feelay More will be added, depending on the comments. Also, more links will be added. If I find a good one, I'll add it. Also, if you want a link, to be added, that you find good, just tell me, and I'll add it Best Wishes //Feelay
  16. hmm.. I used to play black&white.. but then, I found Black&white 2.. but my computer couldn't play that becaue of old hardware :DSo I stopped Black and White too, because I got mad at the second one :oThe time I was playing black and white 1, was acctauly very fun The graphics wasn't the best, but it was the funniest game I ever played.. The story, was fun :mellow:I tryed to be a good guy, but some of them were mean. what wa I supposed to do
  17. hmm.. is that site legal =/??The design looks good(easy navigation), but are you sure it is legal ??Because in sweden, this kind of stuff is illegal
  18. lol xD this is too basic I didn't understand because it was sooo basic :ohaha almost kidding this is very basic ^.^ haha, making it fit with my login/register scripts Cool
  19. maybe if you tell us what error messages you get. it would be easier for us to help you ? EDIT: I THINK that you can't make the energy get higher, or? well, if thats your problem, you should try to add this: $energy = ($addenergy += $energy); If thats the fault, then that should be the solution. And remember to write what your problem is, and NOT ONLY what you want to accomplish. because we can hardly guess what your problem is. And another thing the "the energy script worked" echo, wont work as you think. it will execute whatever happens, becuse you have no if statement
  20. Feelay

    3d And Php

    hmm..I've been looking at VRML for a while now. I checked out their tutorials, and I found"Tutorial about web 3D creation using 3ds max and Director".do this mean that I will be able to save the file as a VRML file? Because I can't find any place that says that on the site. only the title of the tutorial..And if it works with 3DS Max, do you think it works with maya?also.. how can I include these VRML files into my PHP files, and make them interact with my HTML coded form buttons?because I didn't find anything in their tutorials section.acctually, I didn't find much about HOW to do these things. only information about VRML :mellow:I am sure that there is something on the site.. But I'm an idiot I don't know what to search for when I want to learn new things (languages etc).sorry guys for asking so much but all this 3D with PHP I really know nothing about it (BTW.. isn't there any kind of tutorial that explains this from the beginning? how to include 3D scenes into a page, and make them interact with HTML coded buttons.)
  21. Feelay

    3d And Php

    thanks TavoxPeru I just love your answers and links I'll check them out when I can ^^@firefoxrocks: who told you I've never created a text-based game before? I've just never tryed to mix 3D with a textbased game before. Actually, I've never even tried to mix 3D with a web-page before.. but if I do that with a text based game, or with a normal site, doesn't matter. because I think I would hav to do the same thing.
  22. Feelay

    3d And Php

    :S sorry.. but I really am a total noob when talking about this. I can't understand what I am supposed to do, even after your explanations. I don't even know what any of that is. How can this be done in javascript? can anyone please give me an example? I don't know JAVA, and I can't afford Flash. If I make every scene into AVI files, it would look ugly, because I would have to make the movie reload every time. like you said it would take time, and wouldn't look nice. Anyone knows a better solution.. it feels like I am asking for the impossible.. but I live after the rule that nothing is impossible, and if I knew anything about what I am asking for, I am sure I would be able to explain more. but I am really sorry. All this sounds like chineas to me, and I don't know that language.. I am really noob at this, and hope that you understand what I want, and can help me learn. Thanks //Feelay
  23. Feelay

    3d And Php

    ok then.. if updating the page everytime is the only solution, I think thats the only thing I can do.. but how can I make it load very fast then? and.. how can I make the 3D scene get connected to the buttons?I want it to look like it's only 1 scene (hope you understand..). you know almost like a final fantasy game, but text based.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.