Different Problem

A shopping addon for Roster

Moderator: Hannah

Different Problem

Postby gprovostjr » Sun Jul 23, 2006 11:49 am

OK I have another problem now ;) I can get the orders to work and mail them to the people etc, but now every time I log in the game it has my same orders list ready to mail again, I have this set as an additional URL with my site info in front of this link

/roster/addon.php?roster_addon_name=shopping

and I have the Shopping.lua box checked and it shows it is uploading in the Uni-uploader debugger tab. what am I doing wrong?
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Different Problem

Postby Hannah » Sun Jul 23, 2006 12:20 pm

gprovostjr wrote:OK I have another problem now ;) I can get the orders to work and mail them to the people etc, but now every time I log in the game it has my same orders list ready to mail again, I have this set as an additional URL with my site info in front of this link

/roster/addon.php?roster_addon_name=shopping

and I have the Shopping.lua box checked and it shows it is uploading in the Uni-uploader debugger tab. what am I doing wrong?
Your upload Web to WoW works but WoW to Web not?

Try copy paste the url from the advanced-tab to the option-tab
additional-url....(password set?)

If that doesn´t work check the debugger and server response.
What does the log say...

Cu

Hannah
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Re: Different Problem

Postby gprovostjr » Sun Jul 23, 2006 9:02 pm

Hannah wrote:Your upload Web to WoW works but WoW to Web not?

Try copy paste the url from the advanced-tab to the option-tab
additional-url....(password set?)

If that doesn´t work check the debugger and server response.
What does the log say...

Cu

Hannah


This is the server response for the upload.
Code: Select all
<!-- ############ Uploading to Additional URL # 3...
     ############ http://www.redeemedsouls.com/roster/addon.php?roster_addon_name=shopping -->


the debugger shows no errors, and then it shows the list retrieved again, with the same entries in there. the debugger is as follows

Code: Select all
[2006/07/23 11:58:23] Uploading to Additional URL # 3... - http://www.redeemedsouls.com/roster/addon.php?roster_addon_name=shopping
[2006/07/23 11:58:23] SavedVariables.lua - 46% Compressed. Upload Size: 0.26 KB
[2006/07/23 11:58:23] CharacterProfiler.lua - 86% Compressed. Upload Size: 149.88 KB
[2006/07/23 11:58:23] Enchantrix.lua - 73% Compressed. Upload Size: 67.53 KB
[2006/07/23 11:58:23] CT_RaidTracker.lua - 92% Compressed. Upload Size: 77.19 KB
[2006/07/23 11:58:23] Shopping.lua - 91% Compressed. Upload Size: 0.63 KB
[2006/07/23 11:58:38]
[2006/07/23 11:58:38] RetrData: url: http://www.redeemedsouls.com/roster/addon.php?roster_addon_name=shopping
[2006/07/23 11:58:38] RetrData: param1: OPERATION
[2006/07/23 11:58:38] RetrData: val1: GETDATA
[2006/07/23 11:58:38] RetrData: param2: username
[2006/07/23 11:58:38] RetrData: val2: XXXXXXX
[2006/07/23 11:58:38] RetrData: param3: password
[2006/07/23 11:58:38] RetrData: val3: XXXXXXXXXXX
[2006/07/23 11:58:38] RetrData: Timeout: -1
[2006/07/23 11:58:38] RetrData: ------------------------------------------------------------------------
[2006/07/23 11:58:38] shoppinglist = {
[2006/07/23 11:58:38]    [1] = {
[2006/07/23 11:58:38]       [1] = "Deman",
[2006/07/23 11:58:38]       [2] = "3",
[2006/07/23 11:58:38]       [3] = "Flask of Distilled Wisdom",
[2006/07/23 11:58:38]       [4] = "Rspotions",
[2006/07/23 11:58:38]       [5] = "1",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [2] = {
[2006/07/23 11:58:38]       [1] = "Deman",
[2006/07/23 11:58:38]       [2] = "10",
[2006/07/23 11:58:38]       [3] = "Elixir of the Mongoose",
[2006/07/23 11:58:38]       [4] = "Rspotions",
[2006/07/23 11:58:38]       [5] = "2",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [3] = {
[2006/07/23 11:58:38]       [1] = "Deman",
[2006/07/23 11:58:38]       [2] = "3",
[2006/07/23 11:58:38]       [3] = "Flask of Distilled Wisdom",
[2006/07/23 11:58:38]       [4] = "Rspotions",
[2006/07/23 11:58:38]       [5] = "3",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [4] = {
[2006/07/23 11:58:38]       [1] = "Zbestmage",
[2006/07/23 11:58:38]       [2] = "10",
[2006/07/23 11:58:38]       [3] = "Major Mana Potion",
[2006/07/23 11:58:38]       [4] = "Rspotions",
[2006/07/23 11:58:38]       [5] = "4",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [5] = {
[2006/07/23 11:58:38]       [1] = "Briarrose",
[2006/07/23 11:58:38]       [2] = "10",
[2006/07/23 11:58:38]       [3] = "Elixir of the Mongoose",
[2006/07/23 11:58:38]       [4] = "Rspotions",
[2006/07/23 11:58:38]       [5] = "5",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [6] = {
[2006/07/23 11:58:38]       [1] = "Briarrose",
[2006/07/23 11:58:38]       [2] = "10",
[2006/07/23 11:58:38]       [3] = "Greater Shadow Protection Potion",
[2006/07/23 11:58:38]       [4] = "Rspotions",
[2006/07/23 11:58:38]       [5] = "6",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [7] = {
[2006/07/23 11:58:38]       [1] = "Deman",
[2006/07/23 11:58:38]       [2] = "3",
[2006/07/23 11:58:38]       [3] = "Flask of Distilled Wisdom",
[2006/07/23 11:58:38]       [4] = "Dun",
[2006/07/23 11:58:38]       [5] = "7",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [8] = {
[2006/07/23 11:58:38]       [1] = "Zbestmage",
[2006/07/23 11:58:38]       [2] = "10",
[2006/07/23 11:58:38]       [3] = "Major Mana Potion",
[2006/07/23 11:58:38]       [4] = "Dun",
[2006/07/23 11:58:38]       [5] = "8",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [9] = {
[2006/07/23 11:58:38]       [1] = "Briarrose",
[2006/07/23 11:58:38]       [2] = "10",
[2006/07/23 11:58:38]       [3] = "Greater Shadow Protection Potion",
[2006/07/23 11:58:38]       [4] = "Dun",
[2006/07/23 11:58:38]       [5] = "9",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [10] = {
[2006/07/23 11:58:38]       [1] = "Zbestmage",
[2006/07/23 11:58:38]       [2] = "3",
[2006/07/23 11:58:38]       [3] = "Flask of the Titans",
[2006/07/23 11:58:38]       [4] = "Dun",
[2006/07/23 11:58:38]       [5] = "10",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [11] = {
[2006/07/23 11:58:38]       [1] = "Zbestmage",
[2006/07/23 11:58:38]       [2] = "1",
[2006/07/23 11:58:38]       [3] = "Flask of Chromatic Resistance",
[2006/07/23 11:58:38]       [4] = "Aakina",
[2006/07/23 11:58:38]       [5] = "11",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [12] = {
[2006/07/23 11:58:38]       [1] = "Briarrose",
[2006/07/23 11:58:38]       [2] = "1",
[2006/07/23 11:58:38]       [3] = "Greater Stoneshield Potion",
[2006/07/23 11:58:38]       [4] = "Aakina",
[2006/07/23 11:58:38]       [5] = "12",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [13] = {
[2006/07/23 11:58:38]       [1] = "Briarrose",
[2006/07/23 11:58:38]       [2] = "5",
[2006/07/23 11:58:38]       [3] = "Major Healing Potion",
[2006/07/23 11:58:38]       [4] = "Dun",
[2006/07/23 11:58:38]       [5] = "13",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38]    [14] = {
[2006/07/23 11:58:38]       [1] = "Dobber",
[2006/07/23 11:58:38]       [2] = "1",
[2006/07/23 11:58:38]       [3] = "Heartseeker",
[2006/07/23 11:58:38]       [4] = "Grizwolf",
[2006/07/23 11:58:38]       [5] = "14",
[2006/07/23 11:58:38]       [6] = "outbox",
[2006/07/23 11:58:38]       [7] = "0",
[2006/07/23 11:58:38]       [8] = "",
[2006/07/23 11:58:38]    },
[2006/07/23 11:58:38] }
[2006/07/23 11:58:38] RetrData: ------------------------------------------------------------------------
[2006/07/23 11:58:38]


I have a password set in my uni-uploader, its for my roster update password, that part works fine so I am assuming it should work here too.
I am trying to get rid of the entries for Dun.
Last edited by gprovostjr on Sun Jul 23, 2006 9:03 pm, edited 1 time in total.
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Re: Different Problem

Postby Hannah » Sun Jul 23, 2006 10:29 pm

What have you done ingame?

Did you click the shopping-button in the minimap, then checked the order
and klicked on send ?

Shopping-Addon (for WoW) delivers the order if you accept it and after that you must open the mailbox and wait till it delivered the mails/orders...

If this fails it does´n´t set the status from outbox to send
Code: Select all
[1] = {
[
2006/07/23 11:58:38]         [1] = "Deman",
[
2006/07/23 11:58:38]         [2] = "3",
[
2006/07/23 11:58:38]         [3] = "Flask of Distilled Wisdom",
[
2006/07/23 11:58:38]         [4] = "Rspotions",
[
2006/07/23 11:58:38]         [5] = "1",
[
2006/07/23 11:58:38]         [6] = "outbox",
[
2006/07/23 11:58:38]         [7] = "0",
[
2006/07/23 11:58:38]         [8] = "",
[
2006/07/23 11:58:38]     }, 


You can check that after you sent the orders, leave game and have a look
into your wow/wtf/*youraccount*/SavedVariables/Shopping-lua
file...

There should be your shopping-lisz as the shown array and
Code: Select all
[6] = "outbox" 

should now be
Code: Select all
[6] = "send" 


Check that and tell me which state it is in before you upload to roster...:)
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Re: Different Problem

Postby Hannah » Sun Jul 23, 2006 10:35 pm

One more question:

Are you looged in as one of the orderer ?
In your order you should be either logged in as
Rspotions
or
Dun
or
Aakina
or
Grizwolf

This is one of the fault most of the people make...;)

Give it a try
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Re: Different Problem

Postby gprovostjr » Mon Jul 24, 2006 3:28 am

OK I have logged in as Dun, and mailed my order twice, one per log in session, I just checked the shopping.lua and it still has outbox listed there, is Uni-uploader possibly changing it back when I exit the game, when I checked that LUA file it had the same order listed like 4 seperate times. I will try it again and then look at the LUA file before I exit the game and see if it was changed.
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Re: Different Problem

Postby gprovostjr » Mon Jul 24, 2006 12:23 pm

I checkind it again and this is what is going on, as soon as I leave the game the sopping.lua looks like this

Code: Select all
},
   [7] = {
      [1] = "Deman",
      [2] = "3",
      [3] = "Flask of Distilled Wisdom",
      [4] = "Dun",
      [5] = "7",
      [6] = "send",
      [7] = "0",
      [8] = "",
   },
   [8] = {
      [1] = "Zbestmage",
      [2] = "10",
      [3] = "Major Mana Potion",
      [4] = "Dun",
      [5] = "8",
      [6] = "deleted",
      [7] = "0",
      [8] = "",
   },
   [9] = {
      [1] = "Briarrose",
      [2] = "10",
      [3] = "Greater Shadow Protection Potion",
      [4] = "Dun",
      [5] = "9",
      [6] = "deleted",
      [7] = "0",
      [8] = "",
   },
   [10] = {
      [1] = "Zbestmage",
      [2] = "3",
      [3] = "Flask of the Titans",
      [4] = "Dun",
      [5] = "10",
      [6] = "deleted",
      [7] = "0",
      [8] = "",


and then uniuploader uploads everything as before, but i dont think this is being processed as it the downloads the shopping.lua again and it has the send and deleted changed back to outbox
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Different Problem

Postby Hannah » Mon Jul 24, 2006 11:55 pm

What have you checked in uniuploader on the advanced tab?
You have to check two things.
First "before WoW launch"
Second "after uploading"

I think the problem could be if you check
"before uploading"...

Your file looks good to me...

You deleted 3 orders (unchecked it in list) and send one, this state should be delivered to roster...

Try to check you DB with phpmyadmin in the roster_addon_shopping column check if the column order_state of the order above is in state send
after wow exit...

CU

Hannah
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Re: Different Problem

Postby gprovostjr » Tue Jul 25, 2006 1:34 am

Hannah wrote:What have you checked in uniuploader on the advanced tab?
You have to check two things.
First "before WoW launch"
Second "after uploading"

Try to check you DB with phpmyadmin in the roster_addon_shopping column check if the column order_state of the order above is in state send
after wow exit...


Yep those are the only two I have checked, just as the install PDF showed ;)
I will look at that DB and get back to you.

OK I just checked it they are all in order state: Outbox. I deleted them manually and will re-do another order to my alt so I quit mailing other players ;) to get this working. Any idea why this is not updating with these uniuploader settings?
Last edited by gprovostjr on Tue Jul 25, 2006 1:38 am, edited 1 time in total.
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Different Problem

Postby Hannah » Tue Jul 25, 2006 12:21 pm

gprovostjr wrote:
Hannah wrote:What have you checked in uniuploader on the advanced tab?
You have to check two things.
First "before WoW launch"
Second "after uploading"

Try to check you DB with phpmyadmin in the roster_addon_shopping column check if the column order_state of the order above is in state send
after wow exit...


Yep those are the only two I have checked, just as the install PDF showed ;)
I will look at that DB and get back to you.

OK I just checked it they are all in order state: Outbox. I deleted them manually and will re-do another order to my alt so I quit mailing other players ;) to get this working. Any idea why this is not updating with these uniuploader settings?
Hm in the momnet i´m a bit helpless...

Try the following:
Edit index.php (in shopping folder) on line 124, 126, 127 so
the echo command will show you the update query and variabels...

After that you should see a different log in Uniuploader if you
quit WoW and UniUploader uploads the data to roster...

Tell me what it says...
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Different Problem

Postby Hannah » Tue Jul 25, 2006 12:23 pm

Oh one more thing:

Do you have enough money ? (think so but a hint...:)

When i developed the addon i once got the problem that i didn´t have the
30 copper for sending the message/order, so....
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Re: Different Problem

Postby gprovostjr » Tue Jul 25, 2006 10:25 pm

Hannah wrote:Oh one more thing:

Do you have enough money ? (think so but a hint...:)

When i developed the addon i once got the problem that i didn´t have the
30 copper for sending the message/order, so....


Yeah I got the money, it mailed it it 3 seperate times to them.
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Different Problem

Postby Hannah » Tue Jul 25, 2006 10:57 pm

:)

What about the log after editing the rows...
User avatar
Hannah
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 142
Joined: Tue Jul 04, 2006 1:41 pm
Location: Germany, Cologne

Re: Different Problem

Postby gprovostjr » Tue Jul 25, 2006 11:38 pm

Hannah wrote::)

What about the log after editing the rows...


Going to do that next, was waiting on the down time to end
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Re: Different Problem

Postby gprovostjr » Tue Jul 25, 2006 11:50 pm

OK I got this as the sserver response

Code: Select all
<!-- ############ Uploading to Additional URL # 3...
     ############ http://www.redeemedsouls.com/roster/addon.php?roster_addon_name=shopping -->



Test:

in the debugger tab it showed the same as I posted before it retrieves the data and changed it back to outbox instead of send.
gprovostjr
WR.net Apprentice
WR.net Apprentice
 
Posts: 20
Joined: Fri Jul 07, 2006 12:32 am

Next

Return to Shopping

Who is online

Users browsing this forum: No registered users and 0 guests

cron