Login to ZARP
|
SkeletonWarrior wrote:
Gamesys The Chiken God wrote:
Good for youGamesys The Chiken God wrote:
Ay, this is a quick made project for me to start learning C#, no need for an auto update.dankek wrote:
although coming to think of it, it wouldn't be so hard scraping the templates directly every time on startupGamesys The Chiken God wrote:
I was talking about the hash of the program. The current version has hardcoded templates. The program would check the server for a new version by comparing its own and the current version's hash.dankek wrote:
wouldn't that interfere with people editing their posts in the first page, or there being more and more pages of replies in the page, as that'd fuck up the hash?SkeletonWarrior wrote:
easy on c# just needs a web server. (IMO the easiest way)dankek wrote:
You can scrape the web so it checks if there are different versions available, I'll see if I can make it when I get the chance because I've got 500 pages to study + a full blown project by next monday LOLDownloading again, as you do since there's no auto updater, rip I'm too noob to set up an auto updaterIt'll be in Python tho, but I'll see if I can make it work with C# -> check the current version's hash with PHP->send a request to PHP getting the current hash->get own hash->compare the two-> if matches->fine if not->download the newest and replace it with an invisible cmd afterwards and start it. That's all unless I'm terribly wrong since I don't have a clue about hashes, I'd guess though it would check if the page remains the same, hence why you'd want to compare hashes (?) we can theorize on your thread about your program can't we? |
|
Login or register to post a reply.
|
What it should be is a javascript project that is based in the browser and puts buttons for easy access on the page.
Maybe you should look into that ![]() |
|
...
Login or register to post a reply.
|
Gamesys The Chiken God wrote:
SkeletonWarrior wrote:
never said you cant Gamesys The Chiken God wrote:
Good for youGamesys The Chiken God wrote:
Ay, this is a quick made project for me to start learning C#, no need for an auto update.dankek wrote:
although coming to think of it, it wouldn't be so hard scraping the templates directly every time on startupGamesys The Chiken God wrote:
I was talking about the hash of the program. The current version has hardcoded templates. The program would check the server for a new version by comparing its own and the current version's hash.dankek wrote:
wouldn't that interfere with people editing their posts in the first page, or there being more and more pages of replies in the page, as that'd fuck up the hash?SkeletonWarrior wrote:
easy on c# just needs a web server. (IMO the easiest way)dankek wrote:
You can scrape the web so it checks if there are different versions available, I'll see if I can make it when I get the chance because I've got 500 pages to study + a full blown project by next monday LOLDownloading again, as you do since there's no auto updater, rip I'm too noob to set up an auto updaterIt'll be in Python tho, but I'll see if I can make it work with C# -> check the current version's hash with PHP->send a request to PHP getting the current hash->get own hash->compare the two-> if matches->fine if not->download the newest and replace it with an invisible cmd afterwards and start it. That's all unless I'm terribly wrong since I don't have a clue about hashes, I'd guess though it would check if the page remains the same, hence why you'd want to compare hashes (?) we can theorize on your thread about your program can't we? |
|
Login or register to post a reply.
|
DEADMONSTOR wrote:
What it should be is a javascript project that is based in the browser and puts buttons for easy access on the page. Maybe you should look into that ![]() Yeah that could work, I'll see what I can do |
|
Login or register to post a reply.
|
DEADMONSTOR wrote:
What it should be is a javascript project that is based in the browser and puts buttons for easy access on the page. already have permission from chute, just stopped working on it for a while Maybe you should look into that ![]() |
|
Login or register to post a reply.
|
SkeletonWarrior wrote:
DEADMONSTOR wrote:
What it should be is a javascript project that is based in the browser and puts buttons for easy access on the page. Maybe you should look into that ![]() Yeah that could work, I'll see what I can do TIPS: ClassName = "kbutton" Element 8 of kbutton is intresting. Check if kbbcode-message is valid. |
|
...
Login or register to post a reply.
The following user(s) said Thank You: SkeletonWarrior
|
Bimp
|
|
Login or register to post a reply.
|
Made something like this for Chrome JavaScript where you click it and it pastes the template, however, mine isn't as complex or descriptive as yours, well done.
My version: zarpgaming.com/index.php/forum/general-d...king?start=60#999078 |
|
Login or register to post a reply.
|