Jump to content

Question

Recommended Posts

  • 0
Posted

Java code.... oti cutom tetiou tipou me javaa code ginete.... Sto l2 ola ginonte alla prepei na 3ereis java....

 

Pantos kali idea auto san farm zone alla gia pvp :P

  • 0
Posted

Java code.... oti cutom tetiou tipou me javaa code ginete.... Sto l2 ola ginonte alla prepei na 3ereis java....

 

Pantos kali idea auto san farm zone alla gia pvp :P

ma to 3erw oti mono me java code... alla to 8ema einai oti eimai new se java.. kai dn 3erw mia :PP

siga siga to palevw exw diavasei kati topic alla...

mhpws mporei kapoios na me help me auto to code??

 

egw eipa thn idea as me help kapios me thn pra3h :PP

  • 0
Posted

ti idees exw re :PPP den eprepe na to pw :PP

LoL siga re.... Ipame idea einia... ti na tin kanies tin idea an den 3ereis na ti ftia3eis? :P

 

3ereis posoi skeftonte trela pragmata  alla ta paratane gt den 3eroun na to ftia3oun...

 

Px.. Server mono me nanakia DwarfWar kapws etc nomizw legete.... kai gia mob exei balei tous human/ork/elf/delfs....

 

dld gia na farmareis prepei na kilalreis mobs pou miazoun me pextes :P

  • 0
Posted

LoL siga re.... Ipame idea einia... ti na tin kanies tin idea an den 3ereis na ti ftia3eis? :P

 

3ereis posoi skeftonte trela pragmata  alla ta paratane gt den 3eroun na to ftia3oun...

 

Px.. Server mono me nanakia DwarfWar kapws etc nomizw legete.... kai gia mob exei balei tous human/ork/elf/delfs....

 

dld gia na farmareis prepei na kilalreis mobs pou miazoun me pextes :P

 

hahahah gia plaka to eipa re c xaax :P

sketh idea ti na thn kanw apo thn stigmh pou dn mporw na thn pragmatopihsw... giauto to eipa edw wste na me help kapios kai opios alos to 8elei as to kanei siga ti einai... e3alou den metrane mono auta se enan server :P

  • 0
Posted

L2PcInstance.java

 

Πήγαινε στο "// Add karma to attacker and increase its PK counter" και κάτω απο το "setPvpKills(getPvpKills() + 1);"

βάλε αυτο

        if (isInsideZone(11020))
       {
       	addItem("loot", 57, 200, this, true);
       	sendMessage("You won a cookie");
       }

 

Δεν το έχω τεστάρει. Δεν ξέρω αν δουλεύει, δοκιμασε το και πες μου.

Χ : ItemId

Y : Amount

 

 

Υ.Γ : Το 11020 είναι το ID της Giran. Μπορείς να βάλεις οποιαδήποτε πόλης θες.

  • 0
Posted

L2PcInstance.java

 

Πήγαινε στο "// Add karma to attacker and increase its PK counter" και κάτω απο το "setPvpKills(getPvpKills() + 1);"

βάλε αυτο

        if (player.isInsideZone(11020))
        {
        	if (player.getPvpKills() > (getPvpKills() +1))
        	{
        		player.addItem("w/e", x, y, this, true);
        		player.sendMessage("You just won a cookie.");
        	}
        }

 

Δεν το έχω τεστάρει. Δεν ξέρω αν δουλεύει, δοκιμασε το και πες μου.

Χ : ItemId

Y : Amount

 

 

Υ.Γ : Το 11020 είναι το ID της Giran. Μπορείς να βάλεις οποιαδήποτε πόλης θες.

 

aa diladh na valw town gia pvp ?..  ama 8elisw na to valw px... garden of eva.. exei id h dn mporw prepei na setaristei alios?

 

BTW: Thanks Pantws

  • 0
Posted

aa diladh na valw town gia pvp ?..  ama 8elisw na to valw px... garden of eva.. exei id h dn mporw prepei na setaristei alios?

 

BTW: Thanks Pantws

 

Gameserver/data/zones/zones.xml

 

Εκεί μπορείς να βρεις τα ID των πόλεων, των κάστρων κλπ.. :)

  • 0
Posted

Gameserver/data/zones/zones.xml

 

Εκεί μπορείς να βρεις τα ID των πόλεων, των κάστρων κλπ.. :)

ok ty 8a to dokimasw kai 8a s pw giati den to exw dokimasei akoma kanw compile ena pack kai 8a to valw kai 8a to dokimasw :)

  • 0
Posted

Το τέσταρα και δουλεύει μια χαρά.

 

        if (isInsideZone(11020))
       {
       	addItem("loot", 57, 200, this, true);
       	sendMessage("you won a cookie");
       }

  • 0
Posted

Το τέσταρα και δουλεύει μια χαρά.

 

        if (isInsideZone(11020))
        {
        	addItem("loot", 57, 200, this, true);
        	sendMessage("you won a cookie");
        }

 

wraios :) kai egw twra 8a to valw.. giati ipir3e ena provlimataki me to pack mou evgale error :S tespa..

  • 0
Posted

mou vgazei auto to error otan paw na to kanw build...

 

 

compile:

    [javac] Compiling 1462 source files to C:\workspace\trunk\L2_GameServer\build\classes

    [javac] C:\workspace\trunk\L2_GameServer\java\com\l2jserver\gameserver\model\actor\instance\L2PcInstance.java:5794: isInsideZone(byte) in com.l2jserver.gameserver.model.actor.L2Character cannot be applied to (int)

    [javac]       if (isInsideZone(11039))

    [javac]           ^

    [javac] 1 error

 

BUILD FAILED

C:\workspace\trunk\L2_GameServer\build.xml:62: Compile failed; see the compiler error output for details.

 

Total time: 13 seconds

 

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

    • ⚡ Weekend Stock Refresh! Fast order fulfillment is active. Get Gemini Pro Advanced + Google One cloud storage activated on your own personal email within minutes.
    • New Release World & atmosphere A complete dynamic weather system has arrived, with Clear, Light Rain, Rain, Heavy Rain, Storm, Snow, and Windy presets. Rain and snow react to roofs, wind moves foliage, lightning illuminates storms, exposed ground becomes wet and develops puddles, and snow builds up and melts over time. Weather includes Low to Ultra quality levels and advanced controls for precipitation, wind, cloud cover, lightning, surface wetness, puddles, and snow. The game server can also select or restore the current weather while local quality settings continue to control rendering cost. The weather can be controlled from the server with custom packets. For more details use Shift+Alt+P. Enhanced lighting now allows authored lamps, fires, and other light sources to illuminate towns and interiors. Lights can pulse, flicker, blink, and strobe, flames produce warm dynamic light, and lamps display depth-aware halos. Remastered emissive surfaces are now supported, beginning with illuminated windows in Giran that glow and cast light into their surroundings. Broadcasting Towers now use their correct original scale and animated rings and glow effects. Map, quests & navigation A complete quest journal has been added, with active and completed quests, expandable stages, descriptions, requirements, item progress, quest inventory integration, location controls, and quest cancellation. Quest objectives now appear through flashing minimap and world-map markers, an overhead directional guide, a notification button beside chat, and rotating quest symbols above eligible NPCs. Server-directed radar markers now work across the live minimap and world map, including the original overhead guidance effect and arrival behavior. The original tutorial system now works, including scrollable tutorial pages, animated illustrations, the flashing question button, tutorial links, and movement, camera, pickup, and sit/rest progression events. Server-opened town maps now display their original artwork and the supplied player marker. Shops, storage & items Personal, clan, castle, and freight warehouses now work, including deposits, withdrawals, stack quantities, fees, weight and capacity previews, tooltips, and the original warning and empty-storage dialogs. Account freight now works through the original recipient picker and delivery window, allowing items to be sent to another character on the same account. Multisell exchanges now work, with paged recipe lists, product details, required materials, quantity selection, warnings, and server-backed completion. Manor seed purchasing is now supported through the shop interface, including availability and pricing. Inventory items can now be dragged to the trash button and destroyed after the appropriate warning or quantity prompt. The original in-game calculator now works with mouse and keyboard input. Community The Community Board is now available from the system menu or Alt+B, with Home, Favorites, Region, Clan, Memo, Mail, and Friends sections, retained navigation, forms, scrolling, minimization, and server-provided pages. Characters, cameras & events Striders and Wyverns now render as fully animated mounts with the rider attached correctly. Striders remain ground-based, while Wyverns support three-dimensional flight. Characters now enter a proper falling state after high drops or airborne dismounts, with falling animations and server-authoritative landing and fall-damage handling. Players can now sit on authored world chairs using the correct sit, wait, and stand animations. Server-driven special camera sequences now work, including target tracking, interpolation, duration, widescreen bars, and restoration to the normal camera. GM camera mode and server-authorized ///fly movement are now supported. The original 102-second Kamael teaser sequence has been restored with its complete slideshow, transitions, panning artwork, localized subtitles, and narration. Hats, masks, circlets, and other hair accessories now use their authored head placement and correctly adjust the character's hairstyle. Timed server confirmation dialogs, short-duration status effects, regeneration previews, and the seasonal Christmas Seal presentation are now supported. Interface & performance Character creation has been refined with corrected description wrapping, clipping, layout, and name-entry presentation. Tutorial and NPC dialog windows now use polished proportional scrollbars, improved HTML layout, and correctly sized illustrations and controls. A new independent 3D render-resolution setting offers Native, 720p, 900p, 1080p, 1440p, and 4K choices while keeping the window, HUD, text, and FermaUI at native resolution. Major rendering optimizations reduce unnecessary work in local lighting, shadows, visibility, exposure, bloom, post-processing, and GPU diagnostics. Download from the launcher you have installed, or at https://updates.fermata.gg/ if you don't have the launcher. Fermata Light Engine Preview All lights can be baked in the client, shipped to the users, and exported and imported as .femlight files.
  • 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..