Search found 7 matches

by Beechbone
09 Nov 2013, 16:15
Forum: iRO
Topic: change kore language to all english
Replies: 2
Views: 3142

Re: change kore language to all english

Assuming you are running it on a Chinese system: Fastest would be to just delete the Chinese language file in the src/po folder.
by Beechbone
09 Nov 2013, 16:11
Forum: Discussion
Topic: wildcard on looting control?
Replies: 6
Views: 4750

Re: wildcard on looting control?

BTW: Good work on adapting the code for pickupitems. Just one correction: return $pickupitems{$name} if $pickupitems{$name} ne ''; pickupitems uses a different check to see if there is an entry for an item. I don't know if it actually makes a difference, but better safe than sorry. Maybe even return...
by Beechbone
09 Nov 2013, 15:53
Forum: Discussion
Topic: wildcard on looting control?
Replies: 6
Views: 4750

Re: wildcard on looting control?

Oops, I was tricked by changing code that was done by someone who uses a different style than me. (Technical: Perl has Hashes and References of Hashes. As you can always use a reference instead of a hash, but not the other way around, I only use references. Openkore uses hashes here, but I used the ...
by Beechbone
09 Nov 2013, 11:13
Forum: Discussion
Topic: wildcard on looting control?
Replies: 6
Views: 4750

Re: wildcard on looting control?

No, the current check does a literal compare. But, if you change the file src/Misc.pm: sub items_control { my $name = lc shift; return $items_control{$name} if exists $items_control{$name}; my $result = $items_control{all} || {}; foreach my $key (keys %$items_control) { next unless $key =~ m!^/(.*)/...
by Beechbone
05 Nov 2013, 20:22
Forum: Development Help
Topic: src/Network/Receive/kRO/Sakexe_0.pm::party_join()
Replies: 0
Views: 3035

src/Network/Receive/kRO/Sakexe_0.pm::party_join()

After my bot started to spam "Party EXP set to Even Share" every time a party member was on another map, I started to follow code paths. It lead me to Sakexe_0::party_join(), which ends (unconditionally) in: if ($config{partyAutoShare} && $char->{party} && $char->{party}{users}{$accountID}{admin}) {...
by Beechbone
05 Nov 2013, 20:08
Forum: Development Help
Topic: how to auto buy and store in cart and also autoget?
Replies: 3
Views: 5579

Re: how to auto buy and store in cart and also autoget?

If you know beforehand how much space is left in your cart, this is easy. Sort of... items_control.txt Monster's Feed 30 0 0 1 1 => keep 30 in inventory, store excess in cart, replenish from cart config.txt buyAuto Monster's Feed { npc wherever standpoint wherever minAmount 1 maxAmount 5000 (? - cal...
by Beechbone
01 Nov 2013, 18:18
Forum: Commit Queue
Topic: [PATCH] Fixes: item pickup problems; deadlock attack positio
Replies: 1
Views: 11151

[PATCH] Fixes: item pickup problems; deadlock attack positio

First, is needed for "pickup problems" and "deadlock positioning": --- untouched/openkore_ready/src/Utils.pm Sun Sep 08 22:00:04 2013 +++ openkore_ready/src/Utils.pm Fri Nov 01 22:30:21 2013 @@ -38,7 +38,7 @@ @{$Utils::DataStructures::EXPORT_TAGS{all}}, # Math - qw(calcPosFromTime calcPosition calcT...