-
Posts
579 -
Joined
-
Last visited
-
Days Won
5
Content Type
Profiles
Forums
Events
Everything posted by Seker
-
No, you misunderstand. The W3Theory servers are no longer available. It's nothing to do with downtime. It's to do with some asshole and their DDOS attack.
-
Due to W3Theory's recent server trouble, I find myself looking for a new host. Does anyone have any decent, but affordable recommendations? Obviously, the ability to use 1 minute crons is a must. Would appreciate any and all input on this, as time is kind of an issue.
-
Because that's what I always look for! :P
-
After much hair pulling, it's finally ready. This mod allows your players to own one pet. Their pet can be trained, and when leashed, will assist in attacks. Leashes and pets can be purchased through the Animal Vendor. Also includes a Pet Hall Of Fame which ranks the pets by Level, Power, Speed, Defense, and Total Stats. All the functions are located in a pglobals file so they're easy to locate and change if necessary. What you get: Animal Vendor Pet Trainer Pet Central Pet Hall Of Fame Pet Globals File Pets SQL which comes with 10 pre-made pets and 5 pre-made leashes Installation Instructions Screen Shots: Pet Central [ATTACH=CONFIG]489[/ATTACH] Pet Hall Of Fame [ATTACH=CONFIG]490[/ATTACH] Pet Tainer [ATTACH=CONFIG]491[/ATTACH] Pet Vendor [ATTACH=CONFIG]492[/ATTACH] Future Add-Ons to be made available: Pet Crimes with Pet Jail Pet Hospital More Advanced Pet Trainer Leash stats add on to pet stats Purchase V1 HERE. Purchase V2 HERE.
-
Amusing. Community collaboration is a bad thing? No one ever has a moment where something basic escapes him or her? Also, *I* don't understand English? You're barely using words, let alone English. Again. Amusing.
-
This makes no sense at all in relation to my post. I mean, I find myself more lost with every post. Is it just me?
-
That seems like an implication that it's ridiculous to think a black person could be racist. Doesn't it? Did I read that wrong?
-
For all this talk about other people being racist, you seem to be bringing up color an awful lot. Just saying.
-
Just a little progress update on this mod. Finished And Working: ---- All functions and variables within the pet globals file ---- Pet Vendor ---- Pet Trainer ---- Pet Central (Including leash/sell pet) ---- Still working with NO additions to the users table Untested: ---- Pet leveling function Still To Do: ---- Pet Renaming ---- Include pets with attacking ---- Selling leashes ---- Pet Hall Of Fame Expected Future Add-Ons: ---- More complex pet trainer which will work much like the regular gym ---- Pet Hospital ---- Pet Crimes/Jail ---- Pet Markets (Both crystals and cash) I am expecting to have this mod finished and for sale sometime tonight (Currently 4 PM where I am) Would appreciate any and all comments and suggestions regarding current features and future add-ons. Preliminary Screenshots: [ATTACH=CONFIG]465[/ATTACH] [ATTACH=CONFIG]466[/ATTACH] [ATTACH=CONFIG]467[/ATTACH]
-
You are correct. I think it's just so close to being finished, I'm gunning that final push.
-
Ah That makes sense. God, I need sleep.
-
Actually got that part all taken care of, but thanks a ton for the input sniko. :)
-
Alright, so, after much tinkering I ironed out all the bugs with purchasing a pet, and with listing them properly in the pet vendor. Now, I'm running into a weird thing. I'm working on the trainer. Here's an example of how I have the stat gains set up. Probably will end up being a little more complicated than this, but the problem remains the same: $traindef = rand(1,4) * $p['level'] + $p['pet_DEFENSE'] / 2; The problem I'm having is, even though there's a different variable for each stat, they're all gaining the same. The rand() just doesn't seem to be working, and I cannot figure out why. Any suggestions?
-
1 through 13 = 13. 0 through 12 = 13.
-
Ah okay then. As I said, I haven't touched arrays yet. Looks like I need to start. :P
-
I believe so. Again, just a shot in the dark. Try the simple way, ie. what Djkanna just posted. :P
-
On a simpler note, if that is just completely wrong, I BELIEVE you could do something like this: $1 = 'Vauxhall Nova'; $2 = 'Vauxhall Corsa'; $3 = 'Ford Fiesta ST'; $4 = 'Renault Clio'; $5 = 'Peugeot 206'; $6 = 'Ford Focus ST'; $7 = 'Nissan 350Z'; $8 = 'Subaru Impreza WRX'; $9 = 'Toyota Supra'; $10 = 'Lamborghini Gallardo'; $11 = 'Lamborghini Murcielago'; $12 = 'Mercades SLR'; $13 = 'Bugatti Veyron'; $win = mt_rand(1,13); Then change: if ($cars[$win] == "Vauxhall Nova"){ $na = "images/car/nova.jpg"; } elseif ($cars[$win] == "Vauxhall Corsa"){ $na = "images/car/corsa.jpg"; } elseif ($cars[$win] == "Ford Fiesta ST"){ $na = "images/car/fiesta.jpg"; } elseif ($cars[$win] == "Renault Clio"){ $na = "images/car/clio.jpg"; } elseif ($cars[$win] == "Peugeot 206"){ $na = "images/car/206.jpg"; } elseif ($cars[$win] == "Ford Focus ST"){ $na = "images/car/focus.jpg"; } elseif ($cars[$win] == "Nissan 350Z"){ $na = "images/car/350z.jpg"; } elseif ($cars[$win] == "Subaru Impreza WRX"){ $na = "images/car/wrx.jpg"; } elseif ($cars[$win] == "Toyota Supra"){ $na = "images/car/supra.jpg"; } elseif ($cars[$win] == "Lamborghini Gallardo"){ $na = "images/cars/lambog.jpg"; } elseif ($cars[$win] == "Lamborghini Murcielago"){ $na = "images/cars/lambom.jpg"; } elseif ($cars[$win] == "Mercades SLR"){ $na = "images/cars/slr.jpg"; } elseif ($cars[$win] == "Bugatti Veyron"){ $na = "images/cars/veyron.jpg"; } To: if ($win == 1) {$win = $1; $na = "images/car/nova.jpg";} elseif ($win == 2) {$win = $2; $na = "images/car/corsa.jpg";} elseif ($win == 3) {$win = $3; $na = "images/car/fiesta.jpg";} elseif ($win == 4) {$win = $4; $na = "images/car/clio.jpg";} elseif ($win == 5) {$win = $5; $na = "images/car/206.jpg";} elseif ($win == 6) {$win = $6; $na = "images/car/focus.jpg";} elseif ($win == 7) {$win = $7; $na = "images/car/350z.jpg";} elseif ($win == 8) {$win = $8; $na = "images/car/wrx.jpg";} elseif ($win == 9) {$win = $9; $na = "images/car/supra.jpg";} elseif ($win == 10) {$win = $10; $na = "images/car/lambog.jpg";} elseif ($win == 11) {$win = $11; $na = "images/car/lambom.jpg";} elseif ($win == 12) {$win = $12; $na = "images/car/slr.jpg";} elseif ($win == 13) {$win = $13; $na = "images/car/veyron.jpg";} Maybe? And that's all I got. Hope SOMETHING works. :P
-
Now, THAT is customer service. Very nice job.
-
Found something on PHP.net. Now, realize, I have absolutely no idea if I've done this right, so you have like a 50/50 shot of it working. $win = substr(str_shuffle(str_repeat('Vauxhall Nova','Vauxhall Corsa','Ford Fiesta ST','Renault Clio','Peugeot 206','Ford Focus ST','Nissan 350Z','Subaru Impreza WRX','Toyota Supra','Lamborghini Gallardo','Lamborghini Murcielago','Mercades SLR','Bugatti Veyron',1)),0,1); Try replacing line 131 with that.
-
No, I believe the problem is trying to use a number, period. Your cars array uses the car names. I believe you'd have to use an ID number in your array instead of the car name, as I don't believe (Really just don't know for sure) there's a way to pull a random string. Wish I could be of more help or be more certain, but I'm fairly new to all this, and I haven't even touched arrays yet.
-
Possibly, as it looks like you're trying to use a number to pick the car names.
-
Good to see you guys are listening. While I'm still unhappy with the potential wait time, I do like the current fixes. Could you not bring someone on as a full-time mod-checker? It just seems, the longer that whole process takes, the longer people are waiting to earn some cash, and they get kind of discourages. They go back to just listing them here. Also, one suggestion. You should look into recording downloads of free mods. Just so coders can know what people are enjoying and what needs improvement. Or, just politely encourage leaving a review and rating. Otherwise, good work so far.
-
You'd think that'd be right. Here's the problem. Due to the location of my property, we cannot yet get high-speed internet out here. We're reduced to using Cricket. And, not only that, pretty sure I hit the soft cap. Put it this way. I started the download when you posted. It's at 4 mb out of 20. Yeah. It's that bad. But, I will send you the section of my pet globals that's giving the issues.
-
I'm trying to set up buy_pet/leash functions. After studying itembuy.php, I'm wondering if I need to create another file. Would rather not do that, of course. Would rather have two functions sitting neatly in my pet globals file. Of course, all these problems I'm having could be coming from working on the mod for close to 12 hours now, all done today. Perhaps I just need to refresh myself and come back to it.
-
Okay, I think I explained incorrectly. Actually, I know I did. So, yeah, my bad. Now, I've thought about it, and let's see if this makes more sense or just makes me look like more of an idiot. (REALLY makes you want to buy my mods, huh? :P) I do know the usages of $_GET and $_POST. I was about to explain further, but I had another realization and figured that out as well. Okay, I'll be updating the original post. Anywho, preferentially, I'd rather not use a form. Is there a way to give the same functionality without using a form? Or, is that the most efficient and best-advised way to do it?