Jelajahi Sumber

Removed the 'upnp' plugin (see bugreport:1000).
Original files can be found in Celest's /devel subdirectory.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@13233 54d463be-8e91-2dee-dedb-b68131a5f0ec

ultramage 16 tahun lalu
induk
melakukan
339173867c
4 mengubah file dengan 1 tambahan dan 39 penghapusan
  1. 0 3
      conf/plugin_athena.conf
  2. TEMPAT SAMPAH
      plugins/upnp.dll
  3. 1 5
      src/plugins/Makefile.in
  4. 0 31
      src/plugins/upnp.txt

+ 0 - 3
conf/plugin_athena.conf

@@ -10,9 +10,6 @@ auto_search: no
 // Just a sample plugin
 //plugin: sample
 
-// UPnP core plugin
-plugin: upnp
-
 // GUI core plugin
 //plugin: gui
 

TEMPAT SAMPAH
plugins/upnp.dll


+ 1 - 5
src/plugins/Makefile.in

@@ -5,7 +5,7 @@ COMMON_H = ../common/plugin.h ../common/cbasetypes.h \
 	../common/showmsg.h ../common/utils.h ../common/strlib.h \
 	../common/malloc.h
 
-PLUGINS = sample sig pid gui upnp console
+PLUGINS = sample sig pid gui console
 
 @SET_MAKE@
 
@@ -22,8 +22,6 @@ pid: pid@DLLEXT@
 
 gui: gui@DLLEXT@
 
-upnp: upnp@DLLEXT@
-
 console: console@DLLEXT@
 
 clean:
@@ -35,7 +33,6 @@ help:
 	@echo "'sig'      - signal handler plugin"
 	@echo "'pid'      - process id plugin"
 	@echo "'gui'      - gui plugin"
-	@echo "'upnp'     - upnp plugin"
 	@echo "'console'  - console plugin"
 	@echo "'all'      - builds all above targets"
 	@echo "'clean'    - cleans builds and objects"
@@ -47,7 +44,6 @@ help:
 	@CC@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ -shared -o ../../plugins/$@ $<
 
 gui@DLLEXT@: ../../plugins/gui.conf
-upnp@DLLEXT@: ../../plugins/upnp.conf
 
 sig@DLLEXT@: sig.c $(COMMON_OBJ)
 	@CC@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ -shared -o ../../plugins/$@ $< $(COMMON_OBJ)

+ 0 - 31
src/plugins/upnp.txt

@@ -1,31 +0,0 @@
-//
-// UPnP Plugin Configuration
-//
-
-// Enable UPnP
-enable_upnp: 1
-
-// Remove mapped router ports when shutting down
-release_mappings: 1
-
-// Close opened firewall ports when shutting down
-close_ports: 1
-
-//
-// You can set these if necessary
-// login server port
-//login_port: 6900
-//
-// char server port
-//char_port: 6121
-//
-// map server port
-//map_port: 5121
-//
-// NAT IP address to map your ports to
-//nat_ip: 192.168.0.1
-
-
-// Note: This plugin only works on Windows XP or higher
-// For more info on UPnP try here:
-// http://www.google.com/search?q=what+is+upnp