Jump to content
  • 0

Npc prob


Question

Posted

Paidia gia sas aniksa prosfata enan l2j server .. Thelw voh8ia apo kapion kalo "DEV" na me helparei gia dio pragmata..

 

1on Gia na anikso tis ports

kai

2on gia na fixaroume ta Ncp giati dn litourgoun .. mono ta gm shops k ta custom shops litourgoun..

 

oi buffer dn litourgoun .. dokimasa kai katevasa alon buffer k pali tpt :/

 

efxaristw! :)

12 answers to this question

Recommended Posts

  • 0
Posted

Loipon file einai npc k oxi ncp...

 

des edw guide pws ginete na baleis ena npc k ama dn mporehs pesmas ti problhma exeis...

Here

 

kai gia na ani3eis tis port mpes www.portforward.com

  • 0
Posted

lOl tora to paratirisa pos dn to grapsa sosta :P kanonika evala to npc kai to ekana kai spawn ston server ala patousa pano tou k m elege oti nane etsi opos kai ta ipolipa npc... :/ 8a mporouses na me help ligo meso tou msn?? an s eine efkolo an oxi dn pirazi!!

  • 0
Posted

Ports : www.portforward.com

 

Bres to modem sou , epelekse to Lineage II kai kane oti sou leei.

 

Npc's : Kitakse pali an exeis perasei ola ta arxeia tou npc kai den exeis kanena error otan kaneis execute to sql arxeio tou npc.

 

Buffer : Prepei na prostheseis to path tis buffer sto scripts arxeio { gameserver/data } oste na mporei to gameserver na tin kanei load kai episis na alakseis ta imports , analogos to pack pou xrhsimopoieis.

  • 0
Posted

dokimase na peraseis to path tis buffer sou apo ta scripts sto scripts.cfg p vriskete sta data.

 

paradigma stin teleftea grami grapse custom/(to onoma tou fakelou tis buffer xwris kena)/__init__.py

  • 0
Posted

den ginete tpt... mporei kaneis na log ston server m k na chekari?

Twra ti akrivws problem exeis me tin buffer sou h me ta ports?

 

Ama exeis me tin buffer sou peigene server/gameserver/data/jscript/quests/_init_py anoikseto kai kane edit to new sou

 

__all__ = [
'1_LettersOfLove1',
'2_WhatWomenWant1',
'3_ReleaseDarkelfElder1',
'4_LongLiveLordOfFlame',
'5_MinersFavor',
'6_StepIntoTheFuture',
'7_ATripBegins',
'8_AnAdventureBegins',
'9_IntoTheCityOfHumans',
'10_IntoTheWorld',
'11_SecretMeetingWithKetraOrcs',
'12_SecretMeetingWithVarkaSilenos',
'13_ParcelDelivery',
'14_WhereaboutsOfTheArchaeologist',
'15_SweetWhisper',
'16_TheComingDarkness',
'17_LightAndDarkness',
'18_MeetingWithTheGoldenRam',
'19_GoToThePastureland',
'20_BringUpWithLove',
'21_HiddenTruth',
'22_TragedyInVonHellmannForest',
'27_ChestCaughtWithABaitOfWind',
'28_ChestCaughtWithABaitOfIcyAir',
'29_ChestCaughtWithABaitOfEarth',
'30_ChestCaughtWithABaitOfFire',
'31_SecretBuriedInTheSwamp',
'32_AnObviousLie',
'33_MakeAPairOfDressShoes',
'34_InSearchOfClothes',
'35_FindGlitteringJewelry',
'36_MakeASewingKit',
'37_PleaseMakeMeFormalWear',
'38_DragonFangs',
'39_RedEyedInvaders',
'42_HelpTheUncle',
'43_HelpTheSister',
'44_HelpTheSon',
'45_ToTalkingIsland',
'46_OnceMoreInTheArmsOfTheMotherTree',
'47_IntoTheDarkForest',
'48_ToTheImmortalPlateau',
'49_TheRoadHome',
'50_LanoscosSpecialBait',
'51_OFullesSpecialBait',
'52_WilliesSpecialBait',
'53_LinnaeusSpecialBait',
'SagasSuperclass',
'70_SagaOfThePhoenixKnight',
'71_SagaOfEvasTemplar',
'72_SagaOfTheSwordMuse',
'73_SagaOfTheDuelist',
'74_SagaOfTheDreadnoughts',
'75_SagaOfTheTitan',
'76_SagaOfTheGrandKhavatari',
'77_SagaOfTheDominator',
'78_SagaOfTheDoomcryer',
'79_SagaOfTheAdventurer',
'80_SagaOfTheWindRider',
'81_SagaOfTheGhostHunter',
'82_SagaOfTheSagittarius',
'83_SagaOfTheMoonlightSentinel',
'84_SagaOfTheGhostSentinel',
'85_SagaOfTheCardinal',
'86_SagaOfTheHierophant',
'87_SagaOfEvasSaint',
'88_SagaOfTheArchmage',
'89_SagaOfTheMysticMuse',
'90_SagaOfTheStormScreamer',
'91_SagaOfTheArcanaLord',
'92_SagaOfTheElementalMaster',
'93_SagaOfTheSpectralMaster',
'94_SagaOfTheSoultaker',
'95_SagaOfTheHellKnight',
'96_SagaOfTheSpectralDancer',
'97_SagaOfTheShillienTemplar',
'98_SagaOfTheShillienSaint',
'99_SagaOfTheFortuneSeeker',
'100_SagaOfTheMaestro',
'101_SwordOfSolidarity',
'102_FungusFever',
'103_SpiritOfCraftsman',
'104_SpiritOfMirrors',
'105_SkirmishWithOrcs',
'106_ForgottenTruth',
'107_MercilessPunishment',
'108_JumbleTumbleDiamondFuss',
'110_ToThePrimevalIsle',
'117_OceanOfDistantStar',
'118_ToLeadAndBeLed',
'121_PavelTheGiants',
'122_OminousNews',
'123_TheLeaderAndTheFollower',
'124_MeetingTheElroki',
'127_KamaelAWindowToTheFuture',
'151_SaveMySister1',
'152_ShardsOfGolem',
'153_WharfOldtimersFavor',
'154_SacrificeToSea',
'155_FindSirWindawood',
'156_MillenniumLove',
'157_RecoverSmuggled',
'158_SeedOfEvil',
'159_ProtectHeadsprings',
'160_NerupasFavor',
'161_FruitsOfMothertree',
'162_CurseOfFortress',
'163_LegacyOfPoet',
'164_BloodFiend',
'165_WildHunt',
'166_DarkMass',
'167_DwarvenKinship',
'168_DeliverSupplies',
'169_NightmareChildren',
'170_DangerousAllure',
'171_ActsOfEvil',
'211_TrialOfChallenger',
'212_TrialOfDuty',
'213_TrialOfSeeker',
'214_TrialOfScholar',
'215_TrialOfPilgrim',
'216_TrialOfGuildsman',
'217_TestimonyOfTrust',
'218_TestimonyOfLife',
'219_TestimonyOfFate',
'220_TestimonyOfGlory',
'221_TestimonyOfProsperity',
'222_TestOfDuelist',
'223_TestOfChampion',
'224_TestOfSagittarius',
'225_TestOfSearcher',
'226_TestOfHealer',
'227_TestOfReformer',
'228_TestOfMagus',
'229_TestOfWitchcraft',
'230_TestOfSummoner',
'231_TestOfMaestro',
'232_TestOfLord',
'233_TestOfWarspirit',
'234_FatesWhisper',
'235_MimirsElixir',
'241_PossessorOfAPreciousSoul_1',
'242_PossessorOfAPreciousSoul_2',
'246_PossessorOfAPreciousSoul_3',
'247_PossessorOfAPreciousSoul_4',
'257_GuardIsBusy1',
'258_BringWolfPelt1',
'259_RanchersPlea',
'260_HuntForOrcs1',
'261_DreamOfMoneylender1',
'262_BringMeMushrooms1',
'263_KillAllSylphs1',
'264_KeenClaws',
'265_ChainsOfSlavery',
'266_PleaOfPixies',
'267_WrathOfVerdure',
'271_ProofOfValor',
'272_WrathOfAncestors',
'273_InvadersOfHolyland',
'274_AgainstWolfMen',
'275_BlackWingedSpies',
'276_HestuiTotem',
'277_GatekeepersOffering',
'291_RedBonnetsRevenge',
'292_CrushBrigands',
'293_HiddenVein',
'294_CovertBusiness',
'295_DreamsOfFlight',
'296_SilkOfTarantula',
'297_GatekeepersFavor',
'298_LizardmensConspiracy',
'299_GatherIngredientsForPie',
'300_HuntingLetoLizardman',
'303_CollectArrowheads',
'306_CrystalOfFireice',
'313_CollectSpores',
'316_DestroyPlaguebringers',
'317_CatchTheWind',
'319_ScentOfDeath',
'320_BonesTellFuture',
'324_SweetestVenom',
'325_GrimCollector',
'326_VanquishRemnants',
'327_ReclaimTheLand',
'328_SenseForBusiness',
'329_CuriosityOfDwarf',
'330_AdeptOfTaste',
'331_ArrowForVengeance',
'333_BlackLionHunt',
'334_TheWishingPotion',
'336_CoinOfMagic',
#'337_AudienceWithTheLandDragon', #quest works, but support for portal stones and antharas is not done yet,
#so this quest is not imported by default because portal stones will not work. Could be included if desired with no errors.
'338_AlligatorHunter',
'340_SubjugationOfLizardmen',
'341_HuntingForWildBeasts',
'343_UnderTheShadowOfTheIvoryTower',
'344_1000YearsEndofLamentation',
'345_MethodToRaiseTheDead',
'347_GoGetTheCalculator',
'348_ArrogantSearch',
'350_EnhanceYourWeapon',
'351_BlackSwan',
'352_HelpRoodRaiseANewPet',
'353_PowerOfDarkness',
'354_ConquestOfAlligatorIsland',
'355_FamilyHonor',
'356_DigUpTheSeaOfSpores',
'357_WarehouseKeepersAmbition',
'358_IllegitimateChildOfAGoddess',
'359_ForSleeplessDeadmen',
'360_PlunderTheirSupplies',
'362_BardsMandolin',
'363_SorrowfulSoundofFlute',
'364_JovialAccordion',
'365_DevilsLegacy',
'366_SilverHairedShaman',
'367_ElectrifyingRecharge',
'368_TrespassingIntoTheSacredArea',
'369_CollectorOfJewels',
'370_AWisemanSowsSeeds',
'371_ShriekOfGhosts',
'372_LegacyOfInsolence',
'373_SupplierOfReagents',
'374_WhisperOfDreams1',
'375_WhisperOfDreams2',
'376_GiantsExploration1',
'377_GiantsExploration2',
'378_MagnificentFeast',
'379_FantasyWine',
'380_BringOutTheFlavorOfIngredients',
'381_LetsBecomeARoyalMember',
'382_KailsMagicCoin',
'383_SearchingForTreasure',
'385_YokeofthePast',
'386_StolenDignity',
'401_PathToWarrior',
'402_PathToKnight',
'403_PathToRogue',
'404_PathToWizard',
'405_PathToCleric',
'406_PathToElvenKnight',
'407_PathToElvenScout',
'408_PathToElvenwizard',
'409_PathToOracle',
'410_PathToPalusKnight',
'411_PathToAssassin',
'412_PathToDarkwizard',
'413_PathToShillienOracle',
'414_PathToOrcRaider',
'415_PathToOrcMonk',
'416_PathToOrcShaman',
'417_PathToScavenger',
'418_PathToArtisan',
'419_GetAPet',
'420_LittleWings',
'421_LittleWingAdventures',
'422_RepentYourSins',
'426_FishingShot',
'431_WeddingMarch',
'432_BirthdayPartySong',
'501_ProofOfClanAlliance',
'503_PursuitClanAmbition',
'508_TheClansReputation',
'601_WatchingEyes',
'602_ShadowOfLight',
'605_AllianceWithKetraOrcs',
'606_WarWithVarkaSilenos',
'607_ProveYourCourage_Ketra',
'608_SlayTheEnemyCommander_Ketra',
'609_MagicalPowerOfWaterPart1',
'610_MagicalPowerOfWaterPart2',
'611_AllianceWithVarkaSilenos',
'612_WarWithKetraOrcs',
'613_ProveYourCourage_Varka',
'614_SlayTheEnemyCommander_Varka',
'615_MagicalPowerOfFirePart1',
'616_MagicalPowerOfFirePart2',
'617_GatherTheFlames',
'618_IntoTheFlame',
'619_RelicsOfTheOldEmpire',
'621_EggDelivery',
'622_DeliveryOfSpecialLiquor',
'623_TheFinestFood',
'624_TheFinestIngredientsPart1',
'626_ADarkTwilight',
'627_HeartInSearchOfPower',
'628_HuntGoldenRam',
'629_CleanUpTheSwampOfScreams',
'631_DeliciousTopChoiceMeat',
'632_NecromancersRequest',
'633_InTheForgottenVillage',
'634_InSearchofDimensionalFragments',
'635_InTheDimensionalRift',
'636_TruthBeyond',
'637_ThroughOnceMore',
'644_GraveRobberAnnihilation',
'645_GhostsOfBatur',
'647_InfluxOfMachines',
'649_ALooterAndARailroadMan',
'650_ABrokenDream',
'651_RunawayYouth',
'652_AnAgedExAdventurer',
'653_WildMaiden',
'659_IdRatherBeCollectingFairyBreath',
'660_AidingtheFloranVillage',
'999_C3Tutorial',
'255_Tutorial',
9999_NPCBuffer'    <== Edw tha kaneis ena new
]
print ""
print "importing quests ..."
for name in __all__ :
    try :
        __import__('data.jscript.quests.'+name,globals(), locals(), ['__init__'], -1)
    except:
        print "failed to import quest : ",name
print"... done"

 

Meta peigene GameServer\data\jscript\quests\9999_NPCBuffer\_init_py anoikseto kai kane edit ta imports..

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Added the protection module to the demo.   DDoS Guard Pro v2.0 is a system protection module for PlayMMO CMS designed to reduce the load on the website during HTTP floods, bot activity, suspicious frequent requests, and attacks on individual pages or API methods. Unlike simple global limiters, DDoS Guard Pro v2.0 supports flexible rules based on routes and HTTP methods. This allows you to block the entire site in a targeted manner, rather than blocking the entire site equally. You can set up protection for specific areas of the site, such as login, registration, APIs, administration, forms, and other sensitive areas. What is the purpose of the module? DDoS Guard Pro v2.0 helps protect your site from basic L7 attacks at the HTTP request level. The module is useful when your site receives: frequent requests from a single IP address; HTTP page floods; login or registration form flooding; automatic requests from bots; URL scanning; frequent API requests; suspicious activity spikes; load on individual CMS methods or pages. The module helps to reduce the load on PHP and CMS by limiting suspicious activity before it starts to create a serious load on the site. Main features Per-route and per-method Rate Limit In the new version, protection is configured not only globally, but also according to specific rules. You can set limits separately for: GET; POST; PUT; PATCH; DELETE; ALL. This allows you to flexibly protect different parts of your website. For example: for the login page, you can set a strict limit; for registration, you can set a separate limit; for the API, you can set a limit for reading and a limit for changing data; for regular website pages, you can set a soft limit or not set a limit at all. This approach reduces the risk of accidentally blocking regular users and makes the protection more accurate. Flexible rule system The module supports setting rules in the following format: METHODS|PATTERN|LIMIT|WINDOW|BURST_LIMIT|BURST_WINDOW|BLOCK_SECONDS|IDENTITY|NAME Example of rules: POST|*login*|10|60|5|10|600|ip|login_post POST|*register*|8|60|4|10|600|ip|register_post GET|*api*|300|60|80|10|120|ip|api_get PUT,PATCH,DELETE|*api*|80|60|20|10|300|ip|api_write This allows you to specify exactly: which HTTP methods to protect; which URLs or URL patterns to consider; how many requests are allowed; over what time period; what burst limit to use;  how many seconds to block the offender;  by which ID to count the limit;  what the rule is called. Burst protection against sharp spikes  In addition to the regular request limit, the module monitors sharp spikes of activity.  This is useful when a bot makes many requests in a few seconds. In this case, the protection can be activated faster, without waiting for the overall limit per minute.  Burst protection is especially useful for: authorization pages; registration; API; search; data submission forms; administrative sections. Support for different types of requests DDoS Guard Pro v2.0 works not only with POST requests. The module can control: GET — regular pages, API requests, search; POST — forms, login, registration, data submission; PUT — updating data via API; PATCH — partial data update; DELETE — data deletion; ALL — all methods at once. This makes the module suitable not only for regular sites, but also for CMS with API, personal accounts, game panels and administrative actions. Limit storage: Redis, APCu and file fallback In the new version, the module supports several options for storing temporary data. Available modes: Redis; APCu; file fallback. The auto mode tries to use the most suitable option: Redis; APCu; file storage as a fallback. Redis or APCu are suitable for more efficient operation, while the file storage is left as a fallback option for simple hosting environments that do not have additional extensions. JSONL logging The module records protection events in JSON Lines format. Logs are saved in the following file: storage/logs/ddos_guard.jsonl This format is more convenient than a regular text log, because each event is stored as a separate JSON record. The logs can record the following information: event time; IP address; HTTP method; URL; name of the triggered rule; reason for blocking; number of requests; action status; user-agent; protection mode. The JSONL format is convenient for analysis by external tools, log agents, and monitoring systems. Prometheus metrics DDoS Guard Pro v2.0 adds an endpoint for receiving metrics in Prometheus format. Endpoint: /?ddos_guard_metrics=TOKEN The token is set in the module settings. Metrics allow you to track: the number of processed requests; the number of rule activations; the number of blocks; activity by limits; protection events; module status. This allows you to connect monitoring and configure alerts so that the administrator can see when suspicious activity starts on the site. LOG ONLY mode The module has a LOG ONLY mode. In this mode, DDoS Guard Pro does not block users, but only records events and potential triggers in the log. This mode is recommended to be used after installation, in order to first see which rules are triggered, and only then to enable the real blocking.  This helps to avoid too strict limits and random blocking of regular users.  Support for Cloudflare and proxy  The module supports working behind Cloudflare or another reverse proxy.  With proper configuration, it is possible to take into account the real IP of the user, and not the IP of the proxy server.  This is important for sites that use:  Cloudflare; nginx reverse proxy; load balancers; CDN; hosting proxy protection. Nginx-recommendations DDoS Guard Pro v2.0 contains an example nginx-config: modules/ddos_guard/nginx-ddos-guard-example.conf This allows you to use the module as an additional application layer of protection, and to move the main coarse limits to the nginx level. Recommended protection scheme: Cloudflare / nginx / firewall → DDoS Guard Pro → PlayMMO CMS This approach is more correct than trying to solve all problems only at the PHP level.
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..