-
Content Count
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Kafra Pavianne
-
Looking for a powerful, versatile bot to elevate your Ragnarok Online community on Discord? Alice Bot provides real-time tracking, notifications, and automated management features specifically designed for RO servers. Key Features: Drop Notifications: Tracks and announces normal cards, mini-boss, MVP, and rare drops, so players stay updated on loot in real-time. Market Updates: Publishes in-game market items directly to Discord, allowing players to monitor trades and listings as they happen. Pet Events: Tracks pet taming, evolution, and even loss, giving players a complete view of pet-related events. Equipment Refinement & Enchants: Notifies users about successful refinement and enchant upgrades, keeping everyone in the loop on gear progress. Mini-Games: Adds fun and engaging mini-games to your Discord server to keep the community entertained. Level Notifications: Celebrates when players reach max level, creating a sense of accomplishment. Weddings: Manages and announces in-game weddings to add a personal touch to the player experience. Security Alerts: Includes DDoS and IP-based macro detection alerts to help keep your server secure. Instance Party Tracker: Monitors party progress in instances like Endless Tower, Endless Cellar, Nidhoggur’s Nest, and Sealed Shrine, providing detailed time tracking and completion notifications. I can help you set up Alice Bot to ensure a smooth integration with your server, fully customized to your needs. If you want to bring all these features to your community, Requirements: To set up Alice Bot, you’ll need a VPS with at least 4 GB of RAM and 40 GB of disk space, including a GRF server on the same machine. Discord @huwawahp
-
Was the ldflags failling while linking python. Now i can use python on my plugins and its libs. Thank you!
-
Hi!! i'm trying to add python 3.9 source to my plugins. test.c #include <Python.h> int main() { PyObject* pInt; Py_Initialize(); PyRun_SimpleString("print('Hello World from Embedded Python!!!')"); Py_Finalize(); printf("\nPress any key to exit...\n"); if(!_getch()) _getch(); return 0; } But when i compile i have an error including python CC test.c test.c:3:10: fatal error: Python.h: No such file or directory 3 | #include <Python.h> | ^~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:106: ../../plugins/test.so] Error 1 i research a little about it on stackoverflow and im seeying to pass the flags into plugins makefile like this Makefile: Makefile.in @$(MAKE) -C ../.. src/plugins/Makefile .SECONDEXPANSION: ../../plugins/%@DLLEXT@: %.c $(ALL_H) $$(shell ls %/* 2>/dev/null) @echo " CC $<" @$(CC) $(COMMON_INCLUDE) $(THIRDPARTY_INCLUDE) @PLUGINSTATIC@ @DEFS@ @CFLAGS@ -I/usr/include/python3.9 -Wno-unused-result -Wsign-compare -g -ffile-prefix-map=/build/python3.9-FZ7wim/python3.9-3.9.5=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall @CPPFLAGS@ @LDFLAGS@ -L/usr/lib/python3.9/config-3.9-x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lcrypt -lpthread -ldl -lutil -lm -lm @SOFLAGS@ @LIBS@ @MYSQL_LIBS@ -o $@ $< ../../plugins/HPMHooking_login@DLLEXT@: HPMHOOKINGTYPE = LOGIN ../../plugins/HPMHooking_char@DLLEXT@: HPMHOOKINGTYPE = CHAR ../../plugins/HPMHooking_map@DLLEXT@: HPMHOOKINGTYPE = MAP ../../plugins/HPMHooking_%@DLLEXT@: HPMHooking.c $(ALL_H) $$(shell ls HPMHooking/*_%* HPMHooking/*_common* 2>/dev/null) @echo " CC $< ($(HPMHOOKINGTYPE))" @$(CC) -DHPMHOOKING_$(HPMHOOKINGTYPE) $(COMMON_INCLUDE) $(THIRDPARTY_INCLUDE) @PLUGINSTATIC@ @DEFS@ @CFLAGS@ -I/usr/include/python3.9 -Wno-unused-result -Wsign-compare -g -ffile-prefix-map=/build/python3.9-FZ7wim/python3.9-3.9.5=. -flto=auto -ffat-lto-objects -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector -Wformat -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall @CPPFLAGS@ @LDFLAGS@ -L/usr/lib/python3.9/config-3.9-x86_64-linux-gnu -L/usr/lib/x86_64-linux-gnu -lcrypt -lpthread -ldl -lutil -lm -lm @SOFLAGS@ -o $@ $< And when i compile with flags i got this error, like the python 3.9 is included now, but the linker doesnt work. Could anyone help me how to solve this and add python to my plugins? Thank you so much usr/bin/ld: /tmp/test.so.Yc5jF3.ltrans0.ltrans.o: in function `main': /home/ubuntu/hercules/src/plugins/test.c:9: undefined reference to `Py_Initialize' /usr/bin/ld: /home/ubuntu/hercules/src/plugins/test.c:11: undefined reference to `PyRun_SimpleStringFlags' /usr/bin/ld: /home/ubuntu/hercules/src/plugins/test.c:13: undefined reference to `Py_Finalize' /usr/bin/ld: /home/ubuntu/hercules/src/plugins/test.c:16: undefined reference to `_getch' /usr/bin/ld: /home/ubuntu/hercules/src/plugins/test.c:16: undefined reference to `_getch' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:106: ../../plugins/test.so] Error 1 make[1]: Leaving directory '/home/ubuntu/hercules/src/plugins' make: *** [Makefile:132: plugins] Error 2
-