Raised This Month: $12 Target: $400
 3% 

Module: Vdf (key/value trees) - 1.07


Post New Thread Reply   
 
Thread Tools Display Modes
commonbullet
Veteran Member
Join Date: Oct 2005
Old 06-06-2007 , 20:24   Re: Module: Vdf trees - 1.04
Reply With Quote #21

1.04 Update

- Implemented a simple event based parsing model – vdf_parse, to be used when no tree object creation is needed. It’s documented in inc file, see also vdf_parse.sma example.

- Added an optional event listener support for nodes added in vdf_open native. This can be particularly useful for updating data structures. Check sounds_scheme.sma example and vdf.inc.

Last edited by commonbullet; 06-06-2007 at 20:49.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
commonbullet
Veteran Member
Join Date: Oct 2005
Old 07-10-2007 , 14:53   Re: Module: Vdf trees - 1.05
Reply With Quote #22

1.05 Update

- Fixed parser forwards - sometimes the last node would be omitted
- Fixed root node removal would cause a tree to become unusable
- Fixed vdf_find_in_branch could cause crash
- vdf_get_node_value would ignore a node with a null value - this behavior could cause problems in a loop; now it returns an empty string
- Fixed a typo in vdf.inc that would prevent VDF_OPEN_CONTINUE to be used.

Last edited by commonbullet; 07-10-2007 at 15:01.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
commonbullet
Veteran Member
Join Date: Oct 2005
Old 07-21-2007 , 03:10   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #23

1.05a (small but important update)

- Fixed some mishandled destructors that could cause memory leaks

Big thanks to Bail for including it in the web compiler.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
tomba2k
Junior Member
Join Date: Jan 2008
Location: Zagreb, Croatia
Old 05-22-2009 , 22:31   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #24

Does this module allow only using .vdf files on server side, or it can access clients .vdf files too?
tomba2k is offline
Send a message via MSN to tomba2k Send a message via Skype™ to tomba2k
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-23-2009 , 02:34   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #25

Nothing to do with client files.
Arkshine is offline
headboy
New Member
Join Date: Jul 2009
Old 07-19-2010 , 15:46   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #26

Hi

I have a problem with my plugin which uses this module. I just debugged once and I got this debug log. I checked my code and I think I didn't make mistake (checked example codes too, everything fine), but the server freeze always with segmentation fault. Please write some suggestion. Thx

(ip,port and folders are hidden: 'xxx')

[New Thread 22422]
[New Thread 13199]
[New Thread 13092]
[New Thread 13091]
Core was generated by `./hlds_i686 -debug -game cstrike -maxplayers 15 +ip xxx.xxx.xxx.xxx +port xxxxx +'.
Program terminated with signal 11, Segmentation fault.
#0 0xf3929210 in ?? () from cstrike/addons/amxmodx/modules/vdf_amxx_i386.so
#0 0xf3929210 in ?? () from cstrike/addons/amxmodx/modules/vdf_amxx_i386.so
#1 0xef4bf898 in ?? ()
#2 0x00042de4 in ?? ()
#3 0x0000001e in ?? ()
#4 0xef4bf898 in ?? ()
#5 0xf1b1dcc8 in ?? ()
#6 0xf1b2aabc in ?? ()
#7 0xef4bf898 in ?? ()
#8 0xf54889dd in ?? () from /home/xxx/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
#9 0xef4bf898 in ?? ()
#10 0xf1b6d890 in ?? ()
#11 0xf119ee5c in ?? ()
#12 0xff993f0e in ?? ()
#13 0xff994300 in ?? ()
#14 0xf54a9280 in amx_exec_asm () from /home/xxx/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
#15 0xf54a9068 in amx_exec_asm () from /home/xxx/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
#16 0x0000009a in ?? ()
#17 0xff993ee8 in ?? ()
#18 0xf1b6d890 in ?? ()
#19 0xf1b2aabc in ?? ()
#20 0xf1b1dcc8 in ?? ()
#21 0xef4bf898 in ?? ()
#22 0x00042f6c in ?? ()
#23 0x0001f164 in ?? ()
#24 0x00043160 in ?? ()
#25 0xff9940c0 in ?? ()
#26 0xef4bf898 in ?? ()
#27 0xf1b01f34 in ?? ()
#28 0xf1b2aabc in ?? ()
#29 0xf15c0fc8 in ?? ()
#30 0x00042ddc in ?? ()
#31 0x00042dd4 in ?? ()
#32 0xff9940c0 in ?? ()
#33 0xef4bf898 in ?? ()
#34 0x000430b4 in ?? ()
#35 0x00043160 in ?? ()
#36 0xf548a06f in ?? () from /home/xxx/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
#37 0xff993f50 in ?? ()
#38 0xff9940c0 in ?? ()
#39 0x00043160 in ?? ()
#40 0x0001f164 in ?? ()
#41 0xef4bf898 in ?? ()
#42 0x000430b4 in ?? ()
#43 0x00028b88 in ?? ()
#44 0x00001f1c in ?? ()
#45 0x00000038 in ?? ()
#46 0xf1b01f34 in ?? ()
#47 0x00000000 in ?? ()
No symbol table info available.
From To Syms Read Shared Object Library
0xf7f62a30 0xf7f639cc Yes (*) /lib32/libdl.so.2
0xf7f4d310 0xf7f59b40 Yes (*) /lib32/libpthread.so.0
0xf7e17990 0xf7f13748 Yes (*) /lib32/libc.so.6
0xf7f798d0 0xf7f9152f Yes (*) /lib/ld-linux.so.2
0xf78f0c30 0xf79712c4 Yes /home/xxx/engine_i686.so
0xf78b15f0 0xf78bfec4 Yes ./libsteam_api_c.so
0xf7889440 0xf78a3ce8 Yes (*) /lib32/libm.so.6
0xf786da60 0xf787bb4d Yes /home/xxx/filesystem_stdio_i386.so
0xf57af2a0 0xf5835ab7 Yes (*) ./cstrike/addons/metamod/dlls/metamod_i386.so
0xf555e09c 0xf5687668 Yes /home/xxx/cstrike/dlls/cs_i386.so
0xf54525e0 0xf54ac854 Yes (*) /home/xxx/cstrike/addons/amxmodx/dlls/amxmodx_mm_i386.so
0xf5408ac0 0xf5433b74 Yes (*) cstrike/addons/amxmodx/modules/fakemeta_amxx_i386.so
0xf53c4920 0xf53d5b28 Yes (*) cstrike/addons/amxmodx/modules/geoip_amxx_i386.so
0xf3ac2150 0xf3ac78f4 Yes (*) cstrike/addons/amxmodx/modules/cstrike_amxx_i386.so
0xf3a8f9f0 0xf3aba3a4 Yes (*) cstrike/addons/amxmodx/modules/hamsandwich_amxx_i386.so
0xf3a449b0 0xf3a4dd80 Yes (*) /home/xxx/cstrike/addons/w/dlls/w_mm_i386.so
0xf39c8f80 0xf3a20bc4 Yes (*) /usr/lib32/libstdc++.so.5
0xf3977c70 0xf39805cc Yes (*) /lib32/libgcc_s.so.1
0xf291b830 0xf2992924 Yes (*) cstrike/addons/amxmodx/modules/mysql_amxx_i386.so
0xf28410e0 0xf284b0b4 Yes (*) cstrike/addons/amxmodx/modules/engine_amxx_i386.so
0xf2835be0 0xf28386e4 Yes (*) cstrike/addons/amxmodx/modules/fun_amxx_i386.so
0xf3853a00 0xf385ac8c Yes (*) /lib32/libnss_files.so.2
0xf2052700 0xf2663684 Yes (*) ./steamclient.so
0xf381f400 0xf383ba40 Yes (*) ./libtier0_s.so
0xf37be070 0xf37f9fe0 Yes (*) ./libvstdlib_s.so
0xf2c054b0 0xf2ce6a04 Yes ./libsteamvalidateuseridtickets.so
0xf392cdd0 0xf392ddf4 Yes (*) cstrike/addons/amxmodx/modules/sockets_amxx_i386.so
0xf39062d0 0xf390ee84 Yes (*) cstrike/addons/amxmodx/modules/regex_amxx_i386.so
0xf3924d20 0xf392a190 Yes (*) cstrike/addons/amxmodx/modules/vdf_amxx_i386.so
0xf38ca400 0xf38d6318 Yes (*) /lib32/libz.so.1
(*): Shared library is missing debugging information.
Stack level 0, frame at 0xff993e74:
eip = 0xf3929210; saved eip 0xef4bf898
called by frame at 0xff993e78
Arglist at 0xff993e6c, args:
Locals at 0xff993e6c, Previous frame's sp is 0xff993e74
Saved registers:
eip at 0xff993e70
End of crash report

Last edited by headboy; 07-20-2010 at 05:47.
headboy is offline
Old 07-24-2010, 15:10
commonbullet
This message has been deleted by commonbullet. Reason: Wrong answer
commonbullet
Veteran Member
Join Date: Oct 2005
Old 07-27-2010 , 23:28   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #27

Sorry, I didn't read your post carefully before, it's about your plugin. Actually I can't tell you what's going on without reading the code - there are several ways you can cause a crash since functions handle pointers directly. You can send me your code through pm if you want.

Last edited by commonbullet; 07-27-2010 at 23:33.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Old 07-27-2010, 23:31
commonbullet
This message has been deleted by commonbullet. Reason: Stupid double post
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 10-26-2010 , 19:10   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #28

This module crashes the server when im using content replacer plugin under a minute after a mapload
__________________
Voi is offline
commonbullet
Veteran Member
Join Date: Oct 2005
Old 10-27-2010 , 17:01   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #29

Linux or Windows?
Also it would be easier to track the problem if you could provide more details, files used by the plugin etc.
commonbullet is offline
Send a message via ICQ to commonbullet Send a message via MSN to commonbullet
Voi
Veteran Member
Join Date: Sep 2006
Location: Gdansk, Poland
Old 10-27-2010 , 19:12   Re: Module: Vdf (key/value trees) - 1.05a
Reply With Quote #30

windows

Please take a look at my cfg file. Mb there's something wrong in there.
Attached Files
File Type: vdf contentreplace.vdf (1,001 Bytes, 486 views)
__________________
Voi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:16.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode