Jump to content
  • Advertisement

Jon W?i???

  • Content Count

  • Joined

  • Last visited

Community Reputation

110 Neutral

About Jon W?i???

  • Rank

Personal Information

  • Interests
  1. @Unduli - thanks again, I'll take a look at those!   @Avalander - thank you, I'll take a look at them.   -Jon
  2. I was actually 'Inspect'ing Kingdom of Loathing's chat code in Chrome and it looks like it has some serialized divs that it creates, however, I'm not good enough at coding to figure out what is going on behind the scenes even to just display their chats, let along how exactly they are utilizing all the nice 'slash/' commands for their chat.   Anyone happen to have any insight into what they are doing on the server side for their chat, or perhaps can point me to some code I could look at that is doing something similar?   And please keep in mind it looks like I can't install things like node.js since I'm using a free host. Speaking of that, would anyone like to suggest a host, even if costs something, just nothing crazy like $20 or more a month for my project while it is still small-scale (obviously if it takes off, I'll be spending a lot on hosting, I'm sure.).   Thanks again everyone, - Jon
  3. Looks like I cannot install node.js on the free host I'm using (x10hosting)... so for now, I need to find something else. Thanks for the suggestion either way though.   -Jon
  4. @Unduli - Thank you for the suggestion, I'm going to check out socket.io stuff right now.
  5. Hello everyone,   I've been working on a personal project for about a month and I wanted to ask a few questions that I was having issues with finding an answer on my own.   I'm developing a browser-based game very similar to a 'Kingdom of Loathing' in playstyle and structure, somewhat similar to a 'Travian' in art style.   I don't plan on using much in terms of animation, mostly just Javascript for some 'tooltip' solutions when hovering over items, Javascript (possibly Ajax) for the chat system and event window.   I have a couple questions though, any opinions or advice would be greatly appreciated.   1. I started programming in college in 2001, and I haven't used my programming skills since about 2009, so I am currently using a SQL database with various tables to store all of my information (Login info, character info, inventory, monster info, item info etc). Is there a 'better' or more scalable modern solution? Obviously it works fine with two sessions connected, but if I had lets say 1000 sessions connected simultaneously, would I run into any issues storing everything 'persistent' about my game in SQL while retrieving and storing using PHP?   2. I've read a little bit about Comet as a replacement for using AJAX, is there any real reason I should stay away from AJAX and use something like Comet or Ape? (perhaps my next two questions would give you a better idea of what Im trying to do with it)   3. I'm currently using a very very simple Javascript chatbox that I found on the webz (https://www.metachris.com/projects/most-simple-ajax-chat-ever/demo.html). However, I want to use a chatbox that is tabbed for the different channels like Local, Global, and then private messages that would pop up another tab with that player's name on it. Actually storing the conversations and being able to change what it looks like is not really necessary at this stage. Does anyone know of a very simple, barebones, nothing pretty chatbox system that I could possibly implement?   4. My event window is reminiscent of something you'd see in WoW, or Everquest (example: http://cdn-wow.mmoui.com/preview/pvw14941.jpg). I'm pulling values from a SQL table to get the damage values, then using those values to calculate using some RNG. Would you think AJAX is the quickest, easiest most efficient way to display this information in real-time without having to refresh the page? Or is there some other new technology that I could use to prevent scalability/performance issues in a larger scale?   Thats about all for this post.   I really appreciate any opinions or suggestions on which perspective I should be looking at implementing these features.   Thanks again, Jon
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!