Unreal Addicts Forums  


Social Groups Calendar Blogs UT Links
Go Back   Unreal Addicts Forums > BLOGS

Notices

Old

vB Tournament system - Fixed double query thing

Posted 09-11-2008 at 12:12 AM by RisingFury{TSU}
Finally!!!!!!

Well, my script is getting called twice, but I implemented a system checking if any of the values needed is "" (nothing... empty). After the first execution, all I did was set my two $_POST values to empty and that's what did the trick. Thankfully low overhead.


I won't bother with what's calling my script twice. Not now. For now it works just fine.


Work finally continues.
RisingFury{TSU}'s Avatar
Administrator
Posted in Uncategorized
Views 70 Comments 1 RisingFury{TSU} is offline
Old

vB Tournament system - Figured out what's calling queries twice

Posted 09-10-2008 at 11:42 PM by RisingFury{TSU}
For over a week now, I've been running into problems with my queries being called twice. I blamed it on one thing or another, which seemed credible. But now I've figured out that my script gets called twice.

I don't know what calls it twice... and I don't know why... but this is what I'm gonna be figuring out for the next two days.

But DAMN this took a long time. :w all::wal l: ...
RisingFury{TSU}'s Avatar
Administrator
Posted in Uncategorized
Views 47 Comments 0 RisingFury{TSU} is offline
Old

vB Tournament system - MySql queries being executed twice

Posted 09-08-2008 at 01:08 PM by RisingFury{TSU}
Well, I figured out what the problem is.

It's not that things get executed on the master or the slave server... it's that this particular query gets sent TWICE.

And looks like it's the only one that does get sent twice =/
I don't know why... =/

Now I'm certain that it's not an error in my script, just a setting I'm gonna have to find.

<--- me
RisingFury{TSU}'s Avatar
Administrator
Posted in Uncategorized
Views 48 Comments 0 RisingFury{TSU} is offline
Old

vB Tournament system - vBulletin is the cause of weird error!

Posted 09-06-2008 at 12:05 AM by RisingFury{TSU}
Updated 09-06-2008 at 03:19 PM by RisingFury{TSU}
I had a weird error in my script that made it write into the database before it read from it... and it should be the other way around. And it just hit me!

vBulletin has a quite interesting way of dealing with the database. It has a database object itself. That object does the connection for you so you don't need to know the database login information... you don't need a config file that admins have to fill out.

Another advantage of the database object is that vBulletin...
RisingFury{TSU}'s Avatar
Administrator
Posted in Uncategorized
Views 55 Comments 0 RisingFury{TSU} is offline
Old

vB Tournament system - Talk about weird errors!

Posted 09-03-2008 at 10:03 PM by RisingFury{TSU}
Second rule of programming: It's your mistake, not computer's.

The only problem I have right now is LOCATING that error.

First off, here's here error description:

To insert match results into the database, first off all, I get the match results through the user input in the AdminCp. That works just fine. After that, I parse it, check it for errors and stuff and make sure it's readable by my system and then turn it from a string into an array for easier handling....
RisingFury{TSU}'s Avatar
Administrator
Posted in Uncategorized
Views 50 Comments 0 RisingFury{TSU} is offline

Unreal Addicts is an Unreal Tournament Sniper Clan and Community, UT and Gaming Forum and Resource, and Home of oldschoolz Sniper Clans TSU and VDSA. The Unreal Addicts website itself is a diverse place, where you can find FUN and ACTIVE Unreal Tournament Sniper and UT gaming discussions, Unreal Tournament related videos and files, UT directory, music/video/anime downloads, UT Mapping discussions and tutorials, hundreds of flash arcade games, a gamer worldwap, UT item shop, UT game server watcher and stats, UT gfx and art contests, UT matches and tournaments and much more. Clan TSU and VDSA also host popular UT sniper arena game servers that feature custom maps, 4-way mapvote and stats and good deal of UT fragging. Come join the sniper fragging fun at our UT99 SNIPER SERVER: 67.220.71.54 and our TSU SNIPER TEAMSPEAK: 64.20.35.82:8777

| CollegeHumor Funny Videos
Top Unreal Tournament Sites Unreal Series Top 100 Files, Cheats, News, Mods, Links ut servers levels top 100


Unreal Addicts Forums | Unreal Tournament Sniper Clan and UT Gaming Community - Founded by Clan{TSU} RSS Feeds
Powered by vBulletin® Version 3.8.0 Beta 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Template-Modifications by TMS
vBulletin Style by: kreativfantasy.com SEO by vBSEO 3.1.0

All rights reserved. Copyright © 2000 - 2006 - ClanTSU.org
All materials and posted content property of ClanTSU.org


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102