Congratulations with your perseverance - this looks incredible! Hopefully many people will find this useful.
DiscoUK
Posts
-
-
I’d been looking at FLLocator for a while trying to figure out what maths it was using, but along comes Cannon with the problem already solved in the player control plugin.
Just thought I would put this here so I don’t lose it, and maybe it will be useful to somebody else. Adapted to C# from C++, but is easy to implement in other languages:
static string gridReferenceFromPos(int vPosX, int vPosZ, float systemScale = 1.0f) { string[] gridLabelX = { "A", "B", "C", "D", "E", "F", "G", "H" }; int[] gridLabelZ = { 1, 2, 3, 4, 5, 6, 7, 8 }; float fGridSize = 34000.0f / systemScale; int gridRefIntX = (int)((vPosX + (fGridSize * 5)) / fGridSize) - 1; int gridRefIntZ = (int)((vPosZ + (fGridSize * 5)) / fGridSize) - 1; if (gridRefIntX >= 0 && gridRefIntX < 8 && gridRefIntZ >= 0 && gridRefIntZ < 8) return gridLabelX[gridRefIntX] + gridLabelZ[gridRefIntZ].ToString(); else return "ERR"; }
The systemScale float comes from the system definition in universe.ini - if the system doesn’t have one, it’s 1.0f (default).
-
Should I hazard a guess at which you find most relaxing?
I know exactly what those conversations are like… I also know what its like to move 46 “lost” accounts (for a single person, btw), and that’s the reason I decided to look into this…
-
Generally it doesn’t fix the issues, but it lets you know what you’re looking for - for example, earlier today, I got a “Value was either too large or too small for a UInt32.”, and after checking the file, the player had somehow managed to have -20 of commodity_water…
Maybe I should just create a setup with lots of cargo/equipment lines, and clone it into 50-60 characters.
-
DSAM does a pretty good job of letting you know where the issues lie. I knew about the cargo hold/equipment issues, but I was unaware that they might span accounts - usually when a file is corrupted, the rest of the account (sometimes even that file) still works fine?
Perhaps then, it would be a good idea to have a bunch of huge characters with many entries in the file, stick them on an account, and see what happens?
-
Ok, I know the offsets are in the limit breaking 101, but I’ve heard a ton of times that the reason for having 5 was account corruption. Seeing as I’ve seen 8 per account in two other places now, there’s obviously no issue with that, so I’m wondering why there would be an issue with more…
Has anyone actually tried this, or done any real testing on it? I’ve been looking at it for a couple of hours now, and two accounts with 127 characters seem to work fine for me. I don’t know anyone who has messed with this before, so does anyone here have any info?
Thanks
-
Anyone traversed this tree before?
I’ve got it partially working (although I can’t see why it’s only partially, but there we go). It just appears to stop after 9 of the 5000+ nodes it should be reading, and only 3 of the 9 it can open contain the data they should…
void readNode(PlayerDBTreeNode* node) { if (node == NULL) return; readNode(node->pLeft); try { ConPrint(L"Account: %s\n", node->acc->wszAccID); } catch(...) {} readNode(node->pRight); }
That code should work just fine for an in-order traversal of the tree, printing out the account ID’s of each account as its node is found in the tree (the node I’m passing to start being Players.pFirstNode from PlayerDB).
Anyway, any help would be much appreciated. Thanks.
-
http://download.microsoft.com/download/8/3/a/83aad8f9-38ba-4503-b3cd-ba28c360c27b/ENU/vcsetup.exe
I got all the professional versions (2k3/2k5/2k8/2k10) for free, thanks to my being a student
Only one I had to buy was VS6 Pro, but that’s cheap as hell now it’s so old.
-
http://www.discoveryfluk.com/
(not showing bar)Apologies, I switched out for a different version of the theme when the bar stopped the site from loading. I’ve swapped the theme back to the original version now, and you should find the bar in working condition.
Thanks.
-
You’ll have to create the GUI, but if you want I can give you some code to grab server player counts.
See “server status” on top left here: http://www.discoveryfluk.com
Data can be used anywhere and in a GUI, but I just chose not to.
-
Go to “Freelancer\EXE\flhook_plugins\message.ini”
Remove the messages you do not want to show and change the rest. I am assuming this is what you want?
Additional commands such as /rules and /tips would have to be custom-coded. Essentially, the message plugin is good enough for what most people want.
-
@Bas: Easiest way to install it on SMF is to paste the code before the first tag, so right at the beginning - works every time for me, no syntax errors
-
For once, this guy is making sense! (refers to above post)
I absolutely hate ASP, too many errors and requires Windows. However, its great to have the Starport back, but I personally think the layout could use a little tweaking (with regards to the forums integration). But hey, its great that you’re back up and working, so no complaints (only suggestions) from me
-
Two plugins in as many days. . . thanks again
I’ll check out the new shiny ones and get back to you as always
-
Thanks very much. Where exactly will it be added? I would imagine server/mod links, as it is more server/mod based than a community site.
EDIT: Please ignore - I saw it under server/mod links while browsing GC
Thanks again.
-
Just wondering if you can add Discovery UK RP 24/7 to the bar?
Server running the latest Discovery mod - and UK gaming community. Server has been running for 6 weeks now, and is starting to get quite busy. Average players online is somewhere between 15 and 30 most of the time, screenshots from the last couple of days to prove it if required:
More available on request if you need them.
Server is being added to the Discovery mod launcher in the next beta - Igiss (mod creator) has confirmed in the changelog, but mis-spelt the hostname in Beta 7 release. Will be fixed in next update, but players who wish to play now can download the patch from http://mods.discoveryfluk.com/Discovery4857GLSUpdate1.exe (has become quite popular in several forum topics - my username there is Discovery UK).
- Discovery UK RP server address added to DSUpdate server list.
Forums now have 33 members and counting (www.discoveryfluk.com), and over 125 active characters on the server (http://stats.discoveryfluk.com).
You can email me at [email protected] - thanks for the time - great bar by the way - fits in really nicely with my board!
[Freelancer Coding News]Freelancer Mod Studio gets real models
Finding grid sector from coordinates
Character Limit
Character Limit
Character Limit
Character Limit
PlayerDBTreeNode
Two problems compiling an FLHook plugin
Deletion Warnings
Freelancer server status box?
Mod for displaying data to users?
FLCN V 2.0 Applications
This site is great and everything…
Cannon's Plugin Download
FLCN V 2.0 Applications
FLCN V 2.0 Applications