Archive > 0.5.x Custom/Unofficial Modules
OnlineOrg
Temar:
Updated XML address and a few Bug fixes
Temar:
Some Improvement/Bug fixes
Pharexys:
--- Code: ---Fatal error: Cannot use string offset as an array in C:\TEST\modules\OnlineOrg041.php on line 504
--- End code ---
The line 504 looks like this:
--- Code: --- $who = $this -> bot -> whois -> lookup($faction[0][0]);
--- End code ---
I am thinking maybe the whois db is empty and thats why, but well just pointed out, maybe you know better how to fix :D
The database you added doesnt work either to get uploaded.
I used a fresh 0.4.1 bebot, nothing modified.
I use Mysql Server version: 5.0.41 and PHP 5.2.2.
Temar:
the Problem is when 0 results are returned this will mainly happen in RAID bots
i have added a if (!empty()) statment
Script should work fine now
Temar:
the Commands !getorgs not get the Entire List from Funcom
This is a Big list and on 1st use will prob SPAM
RK1 is Aprox 5k Orgs
Also i have noticed that some orgs are the same name eg.
1 is Armada and another armada both RK1
they are dif orgs
so now org name is Case sensitive e.g.
doing !onlineorg leet will bring up none match and a list of found with Leet in
altho i havnt done this yet i will make it so if case sensitive search fails do none case sensitive instead and if only 1 result get that other wise show search
Edit: DONE
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version