Closed GoogleCodeExporter closed 8 years ago
A remote conection problem meanns 1 of 2 things.
1. Did you set up your telnet information in the config.xml? (look for
<vote_system>,<ra_vote>,<id_1>
2. Is you server online? your server must be online to send rewards
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 1:48
Here we go:
<vote_system>
<enable>1</enable>
<max_points_per_day>-1</max_points_per_day>
<mangos_revision>0</mangos_revision>
<vote_ra>
<id_1>
<address>localhost</address>
<port>3443</port>
<username>myadminworkingaccount</username>
<password>myworkingpassword</password>
</id_1>
</vote_ra>
</vote_system>
Server is online all the time. With same data I can send items throu
MiniManager.
Original comment by 13st...@gmail.com
on 5 Mar 2010 at 2:04
Oh, on TrinityWeb it says this: Remote Login Problem: -Not enough privileges.
But I
have enugh privileges. So maybe is this somehow connected. I'm not sure.
Original comment by 13st...@gmail.com
on 5 Mar 2010 at 2:13
not enough privileges means the account you have selected is an admin on the
realm
your trying to send too. Make sure that in the gm level in "account_access" for
trinity is set to -1. So trinity works and mangos doesnt. I will fix this asap
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 2:16
* not an admin * sorry :p
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 2:16
trinity worked ok, i did change only realmid to -1 for admin account in
account_access.
Original comment by 13st...@gmail.com
on 5 Mar 2010 at 2:20
my mangosweb hg copy works fine... try copying your files in this order:
trinityweb folder -> components - > community -> community.vote.php
paste
Mangosweb folder -> components - > community -> community.vote.php
tel me if that works
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 2:28
if i do that, then when i click on vote picture i see blank page
Original comment by 13st...@gmail.com
on 5 Mar 2010 at 2:42
ok, this is what im going to do, i will re-upload the new vote files, test
them, then
have you update
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 2:44
those files you suggest to copy aint same i did check with wincompare :) just
for info
Original comment by 13st...@gmail.com
on 5 Mar 2010 at 2:45
whats different?
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 2:51
Mangos side has this in there:
include "vote/language.php";
include "vote/inc.php";
and more:
function execute_query($query, $error = "")
{
$query_result = @mysql_query($query);
if($query_result)
return $query_result;
else
{
die($error.mysql_error());
return false;
}
}
and more:
function show_chars_menu()
{
global $DB, $CHDB;
$results = $CHDB->select("SELECT `guid`, `name` FROM `characters` WHERE `account` =
".$_SESSION["user_id"]);
foreach ($results as $row) {
echo "<option value=\"",$row["guid"],"\">",$row["name"],"</option>"; }
}
function add_char_to_session($guid)
{
global $CHDB;
//$_SESSION["char_name"] = mysql_result($CHDB->select("SELECT `name` FROM
`characters` WHERE `account` = ".$_SESSION["user_id"]." AND `guid` = ".$guid."
LIMIT
1"), 0);
}
and this:
echo $reward_texts[$langs[$set_lang][2]][$key];
and in trinity are this things missing (or they aint there on purpose ofc), you
should check with some diff software this - if you really want same files.
Original comment by 13st...@gmail.com
on 5 Mar 2010 at 2:59
you my friend do not have the latest revisions :D
see this is the repo copy:
http://code.google.com/p/mwenhanced/source/browse/components/community/community
.vote.php
What happened was yesterday, the repo got reset, so your copy is the latest
copy, of
the old unset repo. We reset the repo because the .hg folder was way to full of
old
useless files. You either need to do a force pull, or re-download. I am so
sorry for
the inconvenience.
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 3:14
Hmm. Ok. Thanks for your infos and your work. I'll try to do something. Thanks
again.
Original comment by 13st...@gmail.com
on 5 Mar 2010 at 3:20
anytime :)
Original comment by wilson.steven10@gmail.com
on 5 Mar 2010 at 3:25
Original issue reported on code.google.com by
13st...@gmail.com
on 5 Mar 2010 at 1:31