EntropiaForum.com
Go Back   EntropiaForum.com > Entropia Universe Discussion > General Discussion
Notice
General Discussion General Entropia Universe discussion. Used for threads that do not fit in the available forums or subforums.

Reply
 
LinkBack (5) Thread Tools
Old 04-07-2008, 10:23   #41
Old Alpha
Teranoz's Avatar
Teranoz ApprenticeTeranoz ApprenticeTeranoz ApprenticeTeranoz ApprenticeTeranoz Apprentice  
  Activity Longevity
2/2016/20
Posts: 767
Gender: Male Ingame: Male
Avatar Name:
TeranoZ Evil Slayer
Soc: United People of Calypso (UPC)
Location: Netherlands
EFD: 269.54
Reputation: Apprentice
Fame: 558 Achievements: 26
Style: Minopolis Araneatrox

Tested for simple sql injections : safe...


Hmm should that mean a :-) or a :-(
Teranoz is offline Reply With Quote
Old 04-07-2008, 10:39   #42
Elite
EntropiaForum Senior Member, click here for more information.
aridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteranaridash Veteran  
  Activity Longevity
10/2015/20
Posts: 4,166
Gender: Male Ingame: Male
Soc: Skillin' Villains
Location: United Kingdom of Great Britain and Northern Ireland
EFD: 42,299.20
Reputation: Veteran
Fame: 2 Achievements: 2
Adj Stark

Quote:
Originally Posted by Starfinder View Post
If anyone wanna help me run the program .. let me know, i think my laptop (which is running the program now, is starting to sweat - its somewhat warm after 3 days of nonstop PE.. lol -- also if it CTD's it dosent login again (the whole EULA thing))

If you wanna run the program please pm me, and I will send you the program as well as the source code (if you dont trust me you can read the source code your self, and compile it into an exe file)

Its a bit tricky tho - since I have but somewhat much efford into making the algorithms, and I dont want everyone to parse the data into their own databases based on my code -- prehaps we can get 3-4 independant ppl to read the code and approve it?
it occurs to me that distributing the program may circumvent both the EULA and single machine problems. If many people run the app and upload to a central DB server, which can sort the duplicates before populating the DB (maybe two, one logging all entries so you can correct any errors), which in turn can be read by a client.
__________________

consider a cockup before a conspiracy
aridash is offline Reply With Quote
Old 04-07-2008, 10:47   #43
Old Alpha
Droops's Avatar
Droops InitiatedDroops InitiatedDroops InitiatedDroops InitiatedDroops InitiatedDroops Initiated  
  Activity Longevity
10/208/20
Posts: 960
Gender: Male Ingame: Male
Avatar Name:
Mr.Droops Rob
Soc: The Gladiators
Location: The Netherlands
EFD: 1,820.31
Reputation: Initiated
Fame: 1056 Achievements: 44

Nice Thanks
Droops is offline Reply With Quote
Old 04-07-2008, 10:57   #44
Elite
Witte's Avatar
EntropiaForum Senior Member, click here for more information.
Witte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte Remarkable  
  Activity Longevity
8/2018/20
Posts: 4,063
Gender: Male Ingame: Male
Avatar Name:
Vlugge Witte Harrie
Soc: Delta Force Elite
EFD: 73,021.29
Reputation: Remarkable
Fame: 83 Achievements: 1
Style: Segna Chomper

Quote:
Originally Posted by aridash View Post
it occurs to me that distributing the program may circumvent both the EULA and single machine problems. If many people run the app and upload to a central DB server, which can sort the duplicates before populating the DB (maybe two, one logging all entries so you can correct any errors), which in turn can be read by a client.
Seems to me you will indeed need at least around 5-10 logged in clients to make this relyable. The system can be made so that at most 10 people connect to the server at the same time, while all other clients just idle untill one of the 10 disconnects.
__________________
Member of Delta Force Elite and admin of Entropedia
Witte is offline Reply With Quote
Old 04-07-2008, 11:15   #45
Prowler
Starfinder's Avatar
This member has helped support EntropiaForum in the past via donations.
Starfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder Good  
  Activity Longevity
3/2020/20
Posts: 1,193
Gender: Male Ingame: Female
Avatar Name:
Ms. Kazzza 'Starfinder' Milla
Soc: SoF-Cadets
Location: Denmark
EFD: 68,990.64
Reputation: Good
Fame: 210 Achievements: 8

the "client" ive made IS made to be part of a larger network.
It checks everything with the database before sumbitting anything.

There however is a small "mem leak" in the application (nothing your computer cant handle - im more worried about my server) The client wont close the connection to the database until the garbage collector does it.. and it keeps the connections open for 30 seconds, but it creates a new connection every 3 second.... So imagine 50 clients...

thats 30/3 * 50 = 500 connections to my server, even tho only 10 of them might be used... = my server will hate me forever.

Via the MS SQL manager the server laggs with just 2 clients connected... lol..

Anyways.. tweaking the program tonight... anyone wanna run it.. let me know and ill send you a manual on how to get it workin / best OCR results.
__________________

Get your own signature at entropiatracker.com
Starfinder is offline Reply With Quote
Old 04-07-2008, 11:23   #46
Elite
Witte's Avatar
EntropiaForum Senior Member, click here for more information.
Witte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte Remarkable  
  Activity Longevity
8/2018/20
Posts: 4,063
Gender: Male Ingame: Male
Avatar Name:
Vlugge Witte Harrie
Soc: Delta Force Elite
EFD: 73,021.29
Reputation: Remarkable
Fame: 83 Achievements: 1
Style: Segna Chomper

Quote:
Originally Posted by Starfinder View Post
the "client" ive made IS made to be part of a larger network.
It checks everything with the database before sumbitting anything.

There however is a small "mem leak" in the application (nothing your computer cant handle - im more worried about my server) The client wont close the connection to the database until the garbage collector does it.. and it keeps the connections open for 30 seconds, but it creates a new connection every 3 second.... So imagine 50 clients...

thats 30/3 * 50 = 500 connections to my server, even tho only 10 of them might be used... = my server will hate me forever.

Via the MS SQL manager the server laggs with just 2 clients connected... lol..

Anyways.. tweaking the program tonight... anyone wanna run it.. let me know and ill send you a manual on how to get it workin / best OCR results.
It seems a bit unefficient to make the client check with the server before submitting. Isnt just sending the data, and let the server process it a lot more efficient? Or is it a direct connection to the SQL server? In that case I think you can better make a webservice that handels the clients.

ps, I turned off globals in chat and I like it. So I cant help you out in this. I am interested though in your sourcecode . I made a realtime OCR myself that parses the damage you do and logs it. Although it uses very simply algorithms. So I am kinda curious how you approached it.
Witte is offline Reply With Quote
Old 04-07-2008, 11:27   #47
Prowler
Starfinder's Avatar
This member has helped support EntropiaForum in the past via donations.
Starfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder Good  
  Activity Longevity
3/2020/20
Posts: 1,193
Gender: Male Ingame: Female
Avatar Name:
Ms. Kazzza 'Starfinder' Milla
Soc: SoF-Cadets
Location: Denmark
EFD: 68,990.64
Reputation: Good
Fame: 210 Achievements: 8

its directly connected to the SQL server.
Due to the nature of the data structure it only have to make 1 SQL command to know if it should insert data or not. the SQL will either return 0 or 1, dont think a webservice can do that much more efficient.
Starfinder is offline Reply With Quote
Old 04-07-2008, 11:44   #48
Elite
Witte's Avatar
EntropiaForum Senior Member, click here for more information.
Witte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte RemarkableWitte Remarkable  
  Activity Longevity
8/2018/20
Posts: 4,063
Gender: Male Ingame: Male
Avatar Name:
Vlugge Witte Harrie
Soc: Delta Force Elite
EFD: 73,021.29
Reputation: Remarkable
Fame: 83 Achievements: 1
Style: Segna Chomper

Quote:
Originally Posted by Starfinder View Post
its directly connected to the SQL server.
Due to the nature of the data structure it only have to make 1 SQL command to know if it should insert data or not. the SQL will either return 0 or 1, dont think a webservice can do that much more efficient.
I dont know what your plans are, but I was thinking there might be more people interested in the chatlog function, which opens the door to maybe 100-1000 clients at the same time. In that case some sort of connection controll would be nice

ps. when you set the relevant columns to key value you should not even need to check, it will simply not insert in case of duplicates.
Witte is offline Reply With Quote
Old 04-07-2008, 11:58   #49
Prowler
Starfinder's Avatar
This member has helped support EntropiaForum in the past via donations.
Starfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder GoodStarfinder Good  
  Activity Longevity
3/2020/20
Posts: 1,193
Gender: Male Ingame: Female
Avatar Name:
Ms. Kazzza 'Starfinder' Milla
Soc: SoF-Cadets
Location: Denmark
EFD: 68,990.64
Reputation: Good
Fame: 210 Achievements: 8

well.. its kinda hard to have duplicates when you include time as well

3 seconds isent much time span... so the same global will be OCR'ed at time X.. and at time X + 3 seconds... so it wont be the same entry hence i need to check that the same global hasent been inserted into the database in the past 10 min or so (which means that the same person cant global on the same mob with the same value twice or more in 10 min...)
Starfinder is offline Reply With Quote
Old 04-07-2008, 12:09   #50
Old Alpha
sitram's Avatar
sitram Trainedsitram Trainedsitram Trainedsitram Trainedsitram Trainedsitram Trainedsitram Trainedsitram Trained  
  Activity Longevity
6/208/20
Posts: 808
Gender: Male Ingame: Male
Avatar Name:
Adrian Adi Martis
Soc: Freelancer
EFD: 54.62
Reputation: Trained
Fame: 192 Achievements: 6

Perhaps you can make a small client application that ppl can use to send information about globals to your server.

The server doesn't have to parss all the information it recieves from the clients, but to return a stand by message if it has already 1-2 clients connected(or as much as it can handle). The client then will check back with the server ever few seconds, this way it doesn't create a huge traffic with the server.

I don't see any problem with breaking EULA with this, because the information will be gathered from all the players in EU and the client doesn't interfere with Entropia Universe.

It might raise a problem of privacy, but if the person that installs the client will check a button to give his accept that he wants to send the images to the server, I think this will be solved too.

Perhaps in time there will be a dedicated server that handles all the clients and further development can be made to improve the usage of all the gathered data.

Just a few quick ideas from,
Sitram
__________________
sitram is offline Reply With Quote
Reply

Bookmarks

Tags
entropia tracker, global, hof, hunting, log, loot, mining, ocr, tracker

Thread Tools
 
EntropiaTracker.com Loot Trends
Hunting Loot: + 32.25 % Mining Loot: + 18.38 % Crafting Loot: - -4.23 %