|
Page 3 of 4
|
DWho
Joined: August 2006
Posts: 1307
Location: hampshire
|
Re: NUKE LADDER
post here any problems and i will have a look as well
looks like a grweat mod.. that can have different uses too
____________ Mods and themes for Icy Phoenix 1.3
IcyPhoenix UK is off-line permanently due to lack of time to update mods.
if anyone is interested in my templates I will upgrade them to Icy 2.0.
|
#31 Sun 30 Aug, 2009 14:09 |
|
Sponsors
|
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.
|
|
Inactive User
|
Re: NUKE LADDER
DWho wrote: [View Post] post here any problems and i will have a look as well
You betcha! I will.
|
#32 Sun 30 Aug, 2009 14:16 |
|
redrumm101
Joined: January 2009
Posts: 38
|
Re: NUKE LADDER
Thank you very much lopalong. I will start on the beta testin now. I will also try and get some faq's down for you. This is a huge Help. Im glad you were willing to take a look at it. I have been working on tryinfg to get this to work for about a week. I dont know enough about the ip code to do it I really appreciate it and the rest of my clan and other clans who been asking me to do this will be happy as well. Thank you again. Will report back later after testing... Thank you
|
#33 Sun 30 Aug, 2009 15:11 |
|
redrumm101
Joined: January 2009
Posts: 38
|
Re: NUKE LADDER
Ok first problem i ran into while trying to create map groups
SECURITY ALERT » » » »
CBACK CrackerTracker has detected a potential attack on this site with a worm or exploit script so the Security System stopped the script.
If you can see this page after including a new MOD into your board or after clicking on a link please contact the Board Administrator with this error message and a description what you have done before you could see this page, that the Admin has the possibility to fix the problem.
----------------------------------------------------------------------------------------
Second Problem Trying to activate the team it says you Error Login before you use this feature. It seems to be using a separate user account (nuke_userteams) in mysql. But it sees you for admin when you login to ACP.
I am logged in to the ACP and i can see the admin drop down.
thank you here is a pic of it
link to pic PICTURE OF SITE
Description: |
Here is a basic style.css i came up with to make it easier to see. Just a standard black blue with white text. Hope this is useful for some. Nothing fancy. He had some links to pic's that folders do not exist anymore. |
Download |
Filename: |
style.rar |
Filesize: |
531 Bytes |
Downloaded: |
89 Time(s) |
|
#34 Mon 31 Aug, 2009 23:20 |
|
Inactive User
|
Re: NUKE LADDER
This is a guess for now?
Open:
NukeLadder/core/admin/admin_maps.php
Find:
<?php
After on a new line Add:
// CTracker_Ignore: File Checked By Human
define('CT_SECLEVEL', 'LOW');
Looks like I'm going to have to learn as much as I need to about this thing anyway. And will start getting into it tomorrow.
Thanks for the .css - But I think it's more important at this stage to try to debug it and get it fully functional; Then we might call for some themers to jazz it up with different themes and start a Nuke Theme thread!. LOL!
|
#35 Tue 01 Sep, 2009 08:53 |
|
redrumm101
Joined: January 2009
Posts: 38
|
Re: NUKE LADDER
This is a guess for now?
Open:
NukeLadder/core/admin/admin_maps.php
Find:
<?php
After on a new line Add:
// CTracker_Ignore: File Checked By Human
define('CT_SECLEVEL', 'LOW');
Looks like I'm going to have to learn as much as I need to about this thing anyway. And will start getting into it tomorrow.
Thanks for the .css - But I think it's more important at this stage to try to debug it and get it fully functional; Then we might call for some themers to jazz it up with different themes and start a Nuke Theme thread!. LOL!
This seemed to work. Thank you lopalong. Your welcome for the css. that was just for people so they could get started looking at it without having to worry about adjusting the colors or highlighting everything so they could read it. Not to look pretty in any sense LOL.. Just one less thing for people to do so they can get into debugging mode..
Ok next problem i ran into is when i go to admin panel click teams, select a team to modify. Change something like wins you get this error..
Fatal error: Call to a member function Execute() on a non-object in /home/cisclan/public_html/NukeLadder/core/admin/admin_teams.php on line 447
$xdb->xdb->Execute("update ".X1_prefix.X1_DB_teamsevents." SET
name=".$xdb->qstr(X1_clean($_POST['tname'])).",
country=".$xdb->qstr(X1_clean($_POST['country'])).",
clantags=".$xdb->qstr(X1_clean($_POST['clantags'])).",
clanlogo=".$xdb->qstr(X1_clean($_POST['clanlogo']))."
WHERE team_id=".$xdb->qstrX1_clean(($_POST['team_id'])));
$c = x1_admin("teams");
$c .= X1plugin_title(XL_ateams_teamupdated);
return X1plugin_output($c);
It looks like for some reason nuke_teamevents was not created or there was a problem with the creation. It is shown to be created in the install_2.5.5.php file Here is the code in the file. It looks the same as the rest to my untrained eye LOL...
$xdb->Execute("
CREATE TABLE ".X1_prefix.X1_DB_teamsevents." (
ladder_id int(10) NOT NULL default '0',
team_id int(10) NOT NULL default '0',
name varchar(40) NOT NULL default '',
passworddb varchar(10) default NULL,
mail varchar(50) NOT NULL default '',
icq varchar(15) NOT NULL default '',
msn varchar(25) NOT NULL default '',
country varchar(40) NOT NULL default '',
games int(10) NOT NULL default '0',
wins int(10) NOT NULL default '0',
losses int(10) NOT NULL default '0',
draws int(10) NOT NULL default '0',
points int(100) NOT NULL default '0',
totalwins int(10) NOT NULL default '0',
totallosses int(10) NOT NULL default '0',
totaldraws int(10) NOT NULL default '0',
totalgames int(10) NOT NULL default '0',
totalpoints int(10) NOT NULL default '0',
penalties int(10) NOT NULL default '0',
streakwins int(10) NOT NULL default '0',
streaklosses int(10) NOT NULL default '0',
rest int(10) NOT NULL default '0',
challenged varchar(255) NOT NULL default 'New Team',
clantags varchar(10) NOT NULL default '',
homepage varchar(50) NOT NULL default '',
clanlogo varchar(50) NOT NULL default '',
ladder_name varchar(255) NOT NULL default 'Not Set',
challyesno char(3) NOT NULL default 'No',
rung int(10) NOT NULL default '0',
FULLTEXT KEY name (name)
) TYPE=MyISAM;
");
|
#36 Tue 01 Sep, 2009 20:29 |
|
Inactive User
|
Re: NUKE LADDER
Quote: Fatal error: Call to a member function Execute()
I had something similar doing something else, and also checked the path / Db VARS were there and correct, and I couldn't see either why it shouldn't be working. But! I didn't check the DB because at that time I had had enough of trying to understand what the heck I was supposed to be doing anyway?
I'll re-do an install a little later on today and see what's missing from the Db as depicted by what should be there in default SQL.
I also found this late yesterday, maybe we could ask him to do the conversion and save us all a problem. He's taken over NukeLadder - Updated it (But not for phpBB ) But maybe he'd like to expand on it. ?
h**p://***.aodhome.com/index.php
|
#37 Tue 01 Sep, 2009 23:22 |
|
redrumm101
Joined: January 2009
Posts: 38
|
Re: NUKE LADDER
Quote: Fatal error: Call to a member function Execute()
I had something similar doing something else, and also checked the path / Db VARS were there and correct, and I couldn't see either why it shouldn't be working. But! I didn't check the DB because at that time I had had enough of trying to understand what the heck I was supposed to be doing anyway?
I'll re-do an install a little later on today and see what's missing from the Db as depicted by what should be there in default SQL.
I also found this late yesterday, maybe we could ask him to do the conversion and save us all a problem. He's taken over NukeLadder - Updated it (But not for phpBB ) But maybe he'd like to expand on it. ?
http://www.aodhome.com/index.php
Ok there are quite a few missing.. I will list them for you
DATABASES THAT NAMES ARE DIFFERENT THAN INSTALL_2.5.5.PHP
teamchallenges (NAMES IN DB nuke_challengeteam )
teamtempchallenges (NAMED IN DB nuke_challengeteamtemp )
teaminvites (NAMED IN DB nuke_confirminvites )
teamdisputes (NAMED IN DB nuke_ladderdisputes )
THESE JUST FLAT OUT MISSING...
maps
events
teamsevents
teamhistory
teamroster
I will start posting in AoD's Forums to see if we cant get some help. Funny thing is he is running phpbb. LOL.. And he only has support for phpnuke Nuke Evolution and e107.. Weird Ok back to debugging LOL..
|
#38 Wed 02 Sep, 2009 03:45 |
|
Inactive User
|
Re: NUKE LADDER
The databases are re-defined here.
#Table Mapping
#Plugin Maps Table
define('X1_DB_maps', 'laddermaplist');
#Plugin Games Table
define('X1_DB_games', 'games');
#Plugin Teams Table
define('X1_DB_teams', 'teams');
#Plugin Events Table
define('X1_DB_events', 'ladders');
#Plugin Challenges Table
define('X1_DB_teamchallenges', 'challengeteam');
#Plugin Temp Challenges Table
define('X1_DB_teamtempchallenges', 'challengeteamtemp');
#Plugin Invites Table
define('X1_DB_teaminvites', 'confirminvites');
#Plugin Disputes Table
define('X1_DB_teamdisputes', 'ladderdisputes');
#Plugin Team's Events Table
define('X1_DB_teamsevents', 'ladderteams');
#Plugin Matches Table
define('X1_DB_teamhistory', 'playedgames');
#Plugin Joined Teams Table
define('X1_DB_teamroster', 'userteams');
#Plugin Mapgroups Table
define('X1_DB_mapgroups','mapgroups');
This is as I understand it, a Multi-Game thing? So whether there's a prefix that has to be added to identify what game uses what tables - I have no idea at the moment.
But what we do need is some help just to get one game up and running?
Edit:
admin_teams.php
This string has an error: xdb->xdb->
$xdb->xdb->Execute("update ".X1_prefix.X1_DB_teamsevents." SET
This line is wrong too: With a ( in the wrong location.
WHERE team_id=".$xdb->qstr WRONG X1_clean "( WRONG" ($_POST['team_id'])));
Replace this:
$xdb->xdb->Execute("update ".X1_prefix.X1_DB_teamsevents." SET
name=".$xdb->qstr(X1_clean($_POST['tname'])).",
country=".$xdb->qstr(X1_clean($_POST['country'])).",
clantags=".$xdb->qstr(X1_clean($_POST['clantags'])).",
clanlogo=".$xdb->qstr(X1_clean($_POST['clanlogo']))."
WHERE team_id=".$xdb->qstrX1_clean(($_POST['team_id'])));
With This:
$xdb->Execute("update ".X1_prefix.X1_DB_teamsevents." SET
name=".$xdb->qstr(X1_clean($_POST['tname'])).",
country=".$xdb->qstr(X1_clean($_POST['country'])).",
clantags=".$xdb->qstr(X1_clean($_POST['clantags'])).",
clanlogo=".$xdb->qstr(X1_clean($_POST['clanlogo']))."
WHERE team_id=".$xdb->qstr(X1_clean($_POST['team_id'])));
Couldn't find xdb->xdb-> in any other files - Let's see what happens next?
PS: Add this to NukeLadder.php too:
// CTracker_Ignore: File Checked By Human
define('CT_SECLEVEL', 'LOW');
|
#39 Wed 02 Sep, 2009 09:21 |
|
redrumm101
Joined: January 2009
Posts: 38
|
Re: NUKE LADDER
Here is a quick update that may point you in the right direction. When using internet explorer if i go to the team drop down and click on my team to update it IE7 Says you need to login first, Firefox does not. SO its something in the coding that firefox can see and IE7 cannot..I can updated the team info and everything in FIREFOX no problems with that portion of the mod
Last edited by redrumm101 on Wed 02 Sep, 2009 20:41; edited 2 times in total |
#40 Wed 02 Sep, 2009 17:45 |
|
Inactive User
|
Re: NUKE LADDER
Did you read my edited post above ?
I think that if you clear "Everything" from FF - Cookies, cache, the whole box and dice - It wants you to log in too.
I think with IE, you have to tell it it's a preferred site and to remember it. - - - - - I think?
Update:
I've just spent hours converting most of the script to XHTML, but it still has some way to go.
I also had a look at back-porting v2.6.1 for Nuke, and had at least the main screen up. But I don't think I'd bother because it's all a BETA - and I've had more than enough of them.
|
#41 Wed 02 Sep, 2009 18:18 |
|
redrumm101
Joined: January 2009
Posts: 38
|
Re: NUKE LADDER
Did you read my edited post above ?
I think that if you clear "Everything" from FF - Cookies, cache, the whole box and dice - It wants you to log in too.
I think with IE, you have to tell it it's a preferred site and to remember it. - - - - - I think?
Update:
I've just spent hours converting most of the script to XHTML, but it still has some way to go.
I also had a look at back-porting v2.6.1 for Nuke, and had at least the main screen up. But I don't think I'd bother because it's all a BETA - and I've had more than enough of them.
Yes i did read the edited post above and i did edit.
I did a clear on everything in Mozilla and can still get into the display team page while logged into the main set. Cannot from IE7. Im have started a ladder for Counter Strike Source and going to start playing with it more tonight. I have a couple of teams made and im going to do some dummy matches. Be around 12 est that i should have some feed back. thank you again lopalong.
I just did it again in firefox it works exactly as it is supposed to. If im not logged in you cant view the page it tells you to log in. As soon as I loggin i can edit my team etc etc
|
#42 Thu 03 Sep, 2009 01:21 |
|
Inactive User
|
Re: NUKE LADDER
Clearing the cache and cookies can be "pain" sometimes. Believe me - I Know!
While you are "playing" I'm going to split the config into two parts - One for user input / changes and the other for the system, which should make it easier for installing.
The other is - Hard-coded language strings - Which I'll change to language-vars.
Looking forward to your feedback - Because I have no idea how one goes about fully adding games to the script - Maybe because I don't have the Game-Params that are needed.
That's my excuse anyway!
|
#43 Thu 03 Sep, 2009 01:57 |
|
redrumm101
Joined: January 2009
Posts: 38
|
Re: NUKE LADDER
Ok Been playing for the past couple of days. things have been running ok for the most part. I have created 2 teams with people in them. 1 ladder in events. The one problem i ran into is I cant challenge the other team either way. I logged in to both team accounts and tryed to challenge either way. this is the message i get
Sorry this team is too many rungs ahead of your team.0 rungschallenger :: 2
challenged :: 1
Sorry this team is too many rungs ahead of your team.0 rungschallenger :: 2
challenged :: 1
There are only 2 teams both of them are new with no wins or losses. I tryed to look in the config.php to see if there was a setting for how many rungs above you you can challenge but i didnt find anything. It has to be set somewhere.
The other one this is kinda minute but its there. If you have an apostrophe a / or a \ in your team profile when you update it ( i can only still get in there thru FIREFOX) will add extra \\ to the team tag and profile area. This one is not really a big deal i just know it will come up in the future from teams with tags like /team\ or Tom's team
If you want to look at mine .. www.cisclan.com/nukeladder.php Just let me know what you need
|
#44 Fri 04 Sep, 2009 16:15 |
|
Inactive User
|
Re: NUKE LADDER
No Mate, I'm bailing out of this one.
I don't see where stripslashes can be added to the script anywhere without returning errors.
But for those who want to try > Strip Slashes
I did find some solutions:
1. Add To the site php.ini file:
magic_quotes_gpc = Off
or
magic_quotes_gpc Off
Or,
2. Add this script to NukeLadder.php (Without the php tags). This actually works, but in creating teams the apostrophe is an illegal character anyway, and you can only add it after you create the team - and re-add it each time you "Edit" the team. (Quirky) ?
<?php
if (get_magic_quotes_gpc()) {
$in = array(&$_GET, &$_POST, &$_COOKIE);
while (list($k,$v) = each($in)) {
foreach ($v as $key => $val) {
if (!is_array($val)) {
$in[$k][$key] = stripslashes($val);
continue;
}
$in[] =& $in[$k][$key];
}
}
unset($in);
}
?>
Or another cute one that envelops the individual strings:
3.
$str = "Is your name O\'reilly?";
// Outputs: Is your name O'reilly?
echo stripslashes($str) ;
As far as the number of rungs go, one would think that they would be entered into the Db when one configs the game. ?
Don't know, and I'm beginning to wonder if this thing was abandoned in the first place because it's so outdated.
So unfortunately you'll have to recruit some other help with this as I feel I've come to the end of my expertise; and going on with it is not something that I'm that passionate about.
Anyway, the attached .zip here has had as many HTML errors and warnings fixed (100's of them) as possible in the short term - And the .css links have been moved to overall_inc_header.tpl etc. So maybe someone would like to go on from here.
Description: |
|
Download |
Filename: |
NukeLadder-Update.zip |
Filesize: |
530.9 KB |
Downloaded: |
95 Time(s) |
|
#45 Sat 05 Sep, 2009 05:06 |
|
|
Page 3 of 4
|
Was this topic useful?
Was this topic useful?
Link this topic |
URL |
|
BBCode |
|
HTML |
|
You cannot post new topics You cannot reply to topics You cannot edit your posts You cannot delete your posts You cannot vote in polls You cannot attach files You can download files You cannot post calendar events
|
|
|
|