Latest Neocron News and Information

  • New test server patch #564 has been released to Vedeena

Difference between revisions of "User talk:Brammers"

From Neocron Wiki
Jump to: navigation, search
Line 34: Line 34:
  
 
Ok, I've got my own cookie parsing system hacked into the code, so now I can login, download, edit a list of rares, all that's left is to upload it --[[User:Biglines|Biglines]] 14:47, 21 October 2009 (UTC)
 
Ok, I've got my own cookie parsing system hacked into the code, so now I can login, download, edit a list of rares, all that's left is to upload it --[[User:Biglines|Biglines]] 14:47, 21 October 2009 (UTC)
 +
 +
I'm working on the upload part, but the following I don't understand:
 +
<blockquote>
 +
-----------------------------2752977812316
 +
Content-Disposition: form-data; name="url"
 +
 +
 +
-----------------------------2752977812316
 +
Content-Disposition: form-data; name="server"
 +
 +
0
 +
-----------------------------2752977812316
 +
Content-Disposition: form-data; name="sequence"
 +
 +
0
 +
-----------------------------2752977812316
 +
Content-Disposition: form-data; name="action"
 +
 +
 +
-----------------------------2752977812316
 +
Content-Disposition: form-data; name="save.x"
 +
 +
1
 +
-----------------------------2752977812316
 +
Content-Disposition: form-data; name="save.y"
 +
 +
7
 +
</blockquote>
 +
server is always 0, no matter what server is selected? --[[User:Biglines|Biglines]] 20:10, 21 October 2009 (UTC)
  
 
== NC HL2/orange box mod ==
 
== NC HL2/orange box mod ==

Revision as of 20:10, 21 October 2009

Links to old Archives

Please do not edit these links, these are links to archives of my talk page.

Wiki issues

Anything to do with the wiki, please insert at the end of this section.

Windows mobile raredb app

hey brammers, I'm working on an app for my phone in order to more easily update my raredb from inside the game, and was working with loading in the exported CSV files, but then noticed there is no way to import them again. Is there a possibility for this? and if not, is there a way to upload in another way to the raredb? the website is just too large to work properly in the browser of a phone --Biglines 09:57, 25 September 2009 (UTC)`

I will gladly release any client I'd make, but not sure if I'm allowed to, seeing as the compact framework libraries are only supposed to work under the full version of visual studio (I've used the 30 day trial to install the libraries, now working from sharpdevelop (I'm not doing it in basic, but C#), which is open source, but dunno if this construct is allowed or not ;). also, isn't it possible to somehow simulate visiting the browser? .net should be able to formulate complete http requests, but don't have much experience with that--Biglines 15:40, 25 September 2009 (UTC)

Been looking at the httprequest, and it seems pretty straight forward, most of it shouldn't be a problem, except maybe the cookie, as I'm not exactly sure what kind of cookie the raredb needs in order to authenticate me as a user, and whether C# can send this cookie. --Biglines 16:37, 25 September 2009 (UTC)

nah, they're used to compile, all windows mobile devices already have the compact framework installed. I'm still trying to find out if momo is possible to run on windows mobile, can't really find it anywhere :( should ask stevenJ... --Biglines 12:28, 29 September 2009 (UTC)

I've got the httprequest thingies done for downloading information, and I used the csv download in order to not have to parse too much garbage (plus keep the data usage lower for people who're not on unlimited data plans). But I'm having trouble being able to upload something, mostly because I fail to see any sort of logic in the names of the form data, relating to the parts themselves. If there is no logic, I'll have to manually fill a table with the number relating to each part, but would much prefer it if there's some logic to it ;). could you enlighten me? (or is it for example possible to upload a csv formatted text?) also, is it possible to upload only changed data? (again to keep the data usage low) --Biglines 10:51, 1 October 2009 (UTC)

that would be great, would it also be possible to add the stock value to the comma seperated download? (at the moment it's just the parts, not the stock) --Biglines 09:41, 2 October 2009 (UTC)

just realized that i could probably make my own file with the part numbers, so no need to do anything with that, including the stock/inventory in the file export would be handy though. I'm currently experimenting with different interfaces, seeing as most windows mobile phones have limited screen space (mine is 640*480) --Biglines 00:21, 4 October 2009 (UTC)

Pretty much done with the UI and loading of files, just need to make uploading work, and getting the stock from the website. --Biglines 22:07, 5 October 2009 (UTC)

bad news, seems like the cookieContainer that .net uses on pc is not available in the compact framework, so the project is on hold for a while, till i figure this out... (CF runs fine on windows, so I'm generally just testing the apps on the pc before transferring to test on my mobile device) --Biglines 22:22, 7 October 2009 (UTC)

Ok, I've got my own cookie parsing system hacked into the code, so now I can login, download, edit a list of rares, all that's left is to upload it --Biglines 14:47, 21 October 2009 (UTC)

I'm working on the upload part, but the following I don't understand:


2752977812316

Content-Disposition: form-data; name="url"



2752977812316

Content-Disposition: form-data; name="server"

0


2752977812316

Content-Disposition: form-data; name="sequence"

0


2752977812316

Content-Disposition: form-data; name="action"



2752977812316

Content-Disposition: form-data; name="save.x"

1


2752977812316

Content-Disposition: form-data; name="save.y"

7

server is always 0, no matter what server is selected? --Biglines 20:10, 21 October 2009 (UTC)

NC HL2/orange box mod

hey brammers, I was thinking of setting up a wiki for the ncmod project, but then thought of this wiki, would you think we could use a section of this wiki to have design documents and overviews of what we have so far? --Biglines 19:57, 13 October 2009 (UTC)

lo brammers, do namespaces need to set up on media wiki or is it just a question of making a link to for example ncSource:Overview? --Biglines 16:42, 14 October 2009 (UTC)

Hey brammers, how do I go about linking to an external image? if that's not possible, can we upload the images to here? --Biglines 21:01, 15 October 2009 (UTC)

lo, quick question, my wiki can have youtube videos, can mediawiki do that? if so, how? we got a bunch of videos --Biglines 22:13, 15 October 2009 (UTC)

regretfully I don't use media wiki, so the plugin won't work. this link seems like the one I used on my old media wiki though: http://www.mediawiki.org/wiki/Extension:VideoFlash --Biglines 11:20, 19 October 2009 (UTC)