The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 198 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 198 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined property: DB_MySQLi::$google_seo_query_limit - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Decrement on type null has no effect, this will change in the next major version of PHP - Line: 232 - File: inc/plugins/google_seo.php PHP 8.3.36 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/inc/plugins/google_seo.php 232 errorHandler->error_callback
/inc/plugins/google_seo/redirect.php 131 google_seo_tid
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once




Players Inventory
#11
I really appreciate what you have done!!Big Grin Unfortunately I cannot compile the latest revision because of compile errors Huh:

Code:
[tbar@arch mc-server-read-only2]# svn up Updating '.': At revision 187. [tbar@arch mc-server-read-only2]# make /usr/bin/g++ -s -O3 source/cCriticalSection.cpp -c -I. -Isource -Isource/md5 -IWebServer -Isource/packets -Itolua++-1.0.93/src/lib -Ilua-5.1.4/src -Izlib-1.2.5 -IiniFile -Itolua++-1.0.93/include -Ijsoncpp-src-0.5.0/include -Ijsoncpp-src-0.5.0/src/lib_json -o build/cCriticalSection.o source/cCriticalSection.cpp: In constructor ‘cCSLock::cCSLock(cCriticalSection*)’: source/cCriticalSection.cpp:91:2: error: class ‘cCSLock’ does not have any field named ‘m_IsLocked’ make: *** [build/cCriticalSection.o] Error 1

I've tried doing a 'make clean' but that changes nothing...

(I'm using ArchLinux...)
Reply
Thanks given by:
#12
Try getting revision 185 (that one should work), the latests updates seem to have broken the Linux buildTongue
Reply
Thanks given by:
#13
You're right rev 185 works perfectly with this plugin! Thanks!Tongue

Looking at the plugin.lua file I wonder where I can see the different possibilities for the cItem? In other words where is E_BLOCK_STONE defined?

And what does 0 mean in cItem( E_BLOCK_STONE, 10, 0 )?

Anyways: Thanks a lot for implementing this plugin!! Smile
Reply
Thanks given by:
#14
E_BLOCK_STONE is defined here: http://code.google.com/p/mc-server/sourc.../BlockID.h
But you can also use a number Smile

cItem takes 3 pameters:
1. Item ID
2. Quantity
3. Item health, for different kinds of logs and dyes
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)