Kinglykrab
b983fac860
[Quest API] Alphabetize Perl method exports. ( #1672 )
...
- Keeps things tidier.
Perl script was used to get this in order easily.
```pl
my @perl_file_types = (
"bot",
"client",
"doors",
"entity",
"expedition",
"groups",
"hateentry",
"inventory",
"mob",
"npc",
"object",
"perlpacket",
"player_corpse",
"questitem",
"raids",
"spell"
);
foreach my $file_type (sort {$a cmp $b} @perl_file_types) {
my $perl_file = "perl_$file_type.cpp";
open my $client_file, '<', $perl_file or die "Cannot open file_name $perl_file";
{
local $/;
$content = <$client_file>;
}
close $client_file;
open my $perl_data_file, ">", "perl_$file_type\_data.cpp";
my @variables = ();
foreach my $line (split("\n", $content)) {
if ($line=~/newXSproto\(/i) {
$line =~ s/\s+/ /g;
my @line_data = split(/ /, $line);
push(@variables, join(" ", @line_data));
}
}
foreach my $variable (sort {$a cmp $b} @variables) {
$variable =~ s/^ //ig;
print $perl_data_file "\t$variable\n";
}
close $perl_data_file;
}```
2021-11-06 17:36:06 -04:00
Kinglykrab
0762ffa3dc
[Quest API] Typo in Perl $entity_lsit->IsMobSpawnedByNpcTypeID(). ( #1576 )
...
This causes the wrong name to show up on Spire.
2021-10-01 21:19:26 -04:00
Alex
d9d6a64941
[Bots] Add Bot scripting capabilities to the source. ( #1378 )
...
- This will allow server operators to interact with bots within a script in Perl or Lua.
2021-06-11 13:46:30 -05:00
TurmoilToad
fa9478ac44
[Quest API] Perl Entity List Annotations ( #1243 )
...
Added category tag annotations for perl entity list methods.
2021-02-23 12:03:16 -06:00
Kinglykrab
64c97a5283
[Quest API] Perl Entity Validation Macro
...
Add validation macro to all entitylist methods.
2021-02-01 22:06:41 -05:00
Alex
0b03f27660
Add GetNPCBySpawnID() to Perl/Lua.
2020-05-07 23:11:36 -04:00
Kinglykrab
499c0fdca5
Fixes multi-link Perl croaks, allowing the quest API reader to function properly.
2019-09-10 21:48:15 -04:00
KimLS
f754cb1307
Move update path to movement manager so all movement will use paths
2018-09-18 23:06:56 -07:00
Akkadius
2bab945c34
perl_entity.cpp formatting
2018-07-01 19:50:56 -05:00
Akkadius
a6c1314e3e
perl_entity.cpp formatting
2018-07-01 19:49:31 -05:00
Akkadius
979e54daa7
Update usage croak docs perl_entity.cpp
2018-07-01 19:49:21 -05:00
Michael Cook (mackal)
60da544d3a
clang-tidy modernize-use-auto
2016-05-25 16:10:28 -04:00
KimLS
17af9e3808
Merge fixes, hopefully didn't break anything.
2015-01-23 13:36:27 -08:00
KimLS
269d56e1d0
Switched out our kinda juryrigged vector types for glm::vec types since we use that as a 3d math library already but never switched out the types
2015-01-23 00:01:10 -08:00
Akkadius
c5447778a6
Merge remote-tracking branch 'remotes/origin/master' into logging_changes
...
Conflicts:
world/client.cpp
world/worlddb.cpp
zone/aggro.cpp
zone/bot.cpp
zone/client.cpp
zone/client_packet.cpp
zone/client_process.cpp
zone/doors.cpp
zone/entity.cpp
zone/inventory.cpp
zone/mob_ai.cpp
zone/perl_client.cpp
zone/spells.cpp
zone/waypoints.cpp
zone/zone.cpp
zone/zonedb.cpp
zone/zoning.cpp
2015-01-21 17:29:30 -06:00
Akkadius
0d9b6703a6
Rename debug.h to global_define.h, update cmakelists and such
2015-01-19 04:12:09 -06:00
Arthur Ice
54f3f7f343
EntityList::GetRandomClient converted to xyz_location
2014-11-30 22:28:17 -08:00
Michael Cook (mackal)
970b30b467
Added entity_list::IsMobSpawnedByNpcTypeID
...
Exported to both lua and perl
2014-02-25 23:15:14 -05:00
j883376
4bdd8b2502
Change space indentation to tabs
2013-05-09 11:37:51 -04:00
j883376
ffcff4aea1
Remove trailing whitespace
2013-05-09 11:13:16 -04:00
Arthur Ice
7560b6b0a7
NULL to nullptr
2013-05-04 18:06:58 -07:00
KimLS
f32048808a
c++11 linux compile conflicts with perl
2013-02-23 00:06:03 -08:00
KimLS
8eb7d0aaa8
Skill caps load with new smem scheme
2013-02-20 13:54:26 -08:00
KimLS
da7347f76f
svn -> git Migration
2013-02-16 16:14:39 -08:00