Update time!
DOWNLOAD LINK (still the same I hope):
https://drive.google.com/file/d/1_keVf1oitHViXZV0Sv4FLE2QZYGxPLT3/view?usp=sharingSOURCE (also included in the base download package):
https://github.com/wezu/fonline_chargenWhat's new:
-code posted on Github:
https://github.com/wezu/fonline_chargen-docstrings added to most functions and some data structures
-made the script (somewhat) compatible with python 2.7, so running on windows xp
may be possible
-save/load functionality:
You can now save a build to a searchable database, you can call the build whatever you want and also add meaningful tags (like pvp_viable, season3, drugs...). The database is searchable so you can type in keyword-tags, name, name of perks or traits and the program will find all the builds that fulfil these criteria.
How to use the search functions:1. Separate keywords with commassome tag, foobar, pvp_viable
2. Don't use quotes:good:
some long ass tag, some other even longer ass tag
bad:
"some long ass tag", 'some other even longer ass tag'
3. Use comparison operators(=, >, <, <=, >=) on known keys (listed at the end of this post)
ap>10, hp=200, Small Guns>250
4. Combine comparison search with keyword if neededap>10, hp=200, Small Guns>250, some long ass tag, in your face
5. Try to break it and report!Known keys:name
s
p
e
c
i
a
l
pp
sight
ac
ap
carry_weight
melee
crit_chance
crit_chance_cc
crit_power
crit_power_cc
lvl
small_guns
big_guns
energy_guns
close_combat
throwing
first_aid
doctor
lockpick
repair
science
outdoorsman
scavenging
sneak
steal
traps
speech
gambling
barter
party_points
party_point
action_point
action_points
critical_chance
critical_power
energy_weapons
ew
sg
bg
fa
od
doc
level
lv
cc
hth
hit_points
hit_point
health
str
strength
pe
per
perception
en
end
endurance
cha
ch
charisma
int
ag
agi
agility
lc
lck
lk
luck
A final word about safety and compatibility:Some data is stored in a sqlite data base in form of a Python pickle, and that creates a potential attack vector (execute arbitrary code)
if you copy the database file (save.db) from an untrusted source. Because of that there is no easy option to share the build with others. Also the pickle protocol is different for py2 and py3 so if you try to use the same database on different python versions it will fail... and also the sqlite version shipped by default with python 2.7 has no support for fts4 (full text search) and therefore the whole database module will most likely crash unless one updates the sqlite package manually. I'll try to make a package that is build with the right library for windows xp, python 2.7, 32bit next weekend.
Hey, great work, man! But can you host it somewhere online via a website? It's hard to trust 3rd party homebrew apps lol.
Sure, where do you want me to post it?