-
Posts
2,921 -
Joined
-
Last visited
-
Days Won
48
Content Type
Profiles
Forums
Events
Everything posted by KyleMassacre
-
mccode-v2 ANY Version True Hourly Rewards
KyleMassacre replied to AnonymousUser's topic in Free Modifications
Much better explanation :p -
I see it as the same as any other irc channel where people can change their name to whatever they want. If I can get some sort of documentation i.e a class of some sort to post messages to the server almost anything is possible to stop certain things like channel privacy, if this is even at all possible. I did see on wsirc.com there is some sample documentation that I may surely be able to use :p Or I may just have to create a little tut on some pages
-
So im thinking of trying to incorporate wsIrc into NWE but im looking for some guidance on how to do it. I have come up with 2 options: 1. "Replace" the chat module with it. 2. Make an iframe on its own page. So for item 1 above would there be an issue on every page refresh logging you in/out of the rooms? If so is there away around that? And for item 2 is there an issue with the security token if it opened up in a new window? If so, what are some options around that without disabling the secrity token? I read a while back and I think it was gmoore who was asking about the chat being modded to incorporate clan chats so I figure this would be the easiest way of doing it besides the potential cons of the way I was thinking of doing it so any help/ideas would be appreciated.
-
mccode-v2 Shops item stock - as requested (Not Tested)
KyleMassacre replied to radio_active's topic in Free Modifications
You can try var_dump($qty); or print_r($qty); inside you else if statement -
Those terms sound much better to me and 25% is an acceptable upfront amount.
-
mccode-v2 ANY Version True Hourly Rewards
KyleMassacre replied to AnonymousUser's topic in Free Modifications
I wouldnt just add this where ever then it seems like your going to be getting double everything if im not mistaken -
Wow, this makes no sense. I believe the op about 2 years ago was talking about setting up a header image using CSS classes and ids not using <h> tags lol
-
I Think if you set it up the way Guest or Spud has mentioned it may be less invasive on your machine for example we'll use your userlist script posted here, it is just one less query your running since you are already grabbing all the users data from the db (which you should look into selected only what you want to show). Or you can take he approach I did in which you create a column like class as Guest said and store the values in an array and insert it randomly like: $class = array("Cops", "Hackers"); $p = array_rand($class); //here is your insert in the db for registration so add in class = {$p['class']} Its that simple, you dont have to make make any extra tables to store your classes unless you wanted to go above and beyond and possible do stat changes depending on the class a user is in.
-
Oh yeah, duh!!! For first time installers haha
-
Im just curious though what exactly is wrong with mod(), is it resource intensive or what, or are you just talking about the separation or id for particular classes? Personally I would have gone with either: A. Letting a user choose their class or.... B. What I have done in the past is hold classes in an array and it randomly puts them in a class. Option b was quite simple and pretty effective and it was pretty balanced, I mean at most I had maybe a difference of 5 between my classes but to each their own
-
So something like jsfiddle or sqlfiddle?
-
No I got the same error. Its from the last update trying to create a table thats already created. Alain must have kept the same install.sql in the package
-
nvm Too short
-
You can maybe add an if statement to your query like: if (isset ($_GET["buy"]) && $_GET["buy"] == "odd") $db->query("SELECT * FROM users WHERE MOD( userid, 2 ) =1"); else //run your regular query you had here That should return odd userids
-
Not too sure exactly how lol but maybe using the mod() function may help if you can implement it some how
-
Its probably not the script but a combo of this and your header file. Have you tried removing the $h-> endpage()? Sometimes that may do the trick or try throwing in a } before or after the endpage. These are just a couple of ideas
-
Alright sweet deal. Ive been working all weekend in trying to whip up a module to declare wars with other clans and its almost complete. I think I got all the bugs worked out of it and now im just fine tuning the rest and a little shout out to illusions for finding a typo I was racking my brain around for hours. If it wasnt for that I could have been done lol but ill try to finish this up during the week in between work and sleep :p
-
I was just thinking if maybe a "hooked" button area can be used so when a player wins a combat they see the list of actions available to them. This way we keep the base combat script but I will look too and see if there is a way to do something. Edit What about something with the success/fail links in StartPlayerCombat ()? Can we link those up with module urls?
-
There isnt really good tools for OSX so I just use text wrangler and I dont really want to pay for a text editor
-
I sent this as a message to alain so please disregard ill post it here: I figured this should be something for the community to hear
-
I actually stumbled upon that and used it for my modules so its a good find lol and good lookin out
-
Ive been trying to stay out of the debacle of this engine v. engine and Guest I respect pretty much everything you say but I support NWE. Yes, it is lacking a "few" features to make a full functional game but it does have a lot of features available as well. The only thing I think the engine needs is a more in depth clan battle system where you are able to take "respect" points away from another clan at war. After that it should be ready for a release then its just the standard fun modules to keep players entertained in between wars *hint hint* Alain :p
-
I have never heard of "peak time" for internet, thats crazy. I have only heard of one person getting their upload floored because his girlfriend went on a youtube upload benge. I would shop around for another isp lol. I would go crazy if I was a pirater and was leaching off you
-
Is that tested cause to me it still looks a little screwy. There are some un escaped "$" that may pose an issue and I dont believe a lot of people have a bbcode parser running throughout their game so the img tags may not work right