Jump to content

Recommended Posts

Posted

to oti kati douleyh sosta den simeni oti einai sosta grameno h katharogrameno kai opos paradexese to else den xriazete 

kai soy ediksa ki allo tropo dia na einai pio katharogramenos 

 

pame sto next logiko error soy 

public void remove()
{
	if (_prev != null)
	{
		_prev._next = _next;
		if (_next != null)
			_next._prev = _prev;
	}
	_prev = null;
	_next = null;
}

edw les if (_prev != null)

an omos einai null pas kai to ksana kanis null ilithie

kai o kodikas eprepe na einai etsi 

public void remove()
{
	if (_prev != null)
	{
		_prev._next = _next;
		if (_next != null)
		{
			_next._prev = _prev;
			_next = null;
		}
		_prev = null;
	}
}

pou pas na to paiksis kai dev panathemase

 

kai an to ksanakanw null ti 9a ginei? 

 

 

xa0x0a0xa0xa0a0ax0xa0

 

re malakismeno milas se atomo pou einai 10 xronia C++ coder, min kitas pou eimai edw kai ka9ome kai asxoloume me zwa san esena, afto den simenei oti eimai tis pastas sou

Posted

Πραγματικά είναι πολύ θλιβερο που τα "ενεργά" άτομα αυτού του forum είναι πια το ζευγαράκι.

Posted (edited)

pws ginete na einai la9os apo tin stigmi pou kai ta 2 einai akrivws IDIA. ektos an eisai ka9isterimenos kai den to katalaveneis afto.

 

Nai se parakalw dikse mou ta errors, toso kairo eixa tin aftapati oti douleve swsta

den milisa gia error milaw gia kakogrameno kodika ...

 

kai an to ksanakanw null ti 9a ginei? 

 

 

xa0x0a0xa0xa0a0ax0xa0

 

re malakismeno milas se atomo pou einai 10 xronia C++ coder, min kitas pou eimai edw kai ka9ome kai asxoloume me zwa san esena, afto den simenei oti eimai tis pastas sou

apla pas na setaris kati kai na to kanis null eno einai idi kai ayto simeni oti einai kakogramenos kodikas

den eisai toso iliothios na min mporis na to katalabis ayto

 

opos eixes ton kodika an to _prev einai null 

kanis ena check stin if kai setaris 2 times se null eno den xriazete

eno opos sto edosa kanis ena check stin if kai an einai null den kanis kapia alli alagi 

 

eisai poly kalos sto na perneis etimo varvato kwdika kai na kaneis anousies alages afto sto paradexome

edw eisai lathos ... barbatos kodikas tha itan an itan prosegmenos kai oxi skatogramenos 
an se ena komati kodika san ayton exeis kani tetia tsapatsodoulia ( kai ton mostrares san katharogrameno gia na me taposis )
fantazome pos einai o ypolipos 

 

pws tin prwti fora pou sou dwsane ton kodika ekanes tin kota kai den milages kai twra xtipas kai to xeri sto trapezi den mporw na to katalavw.

Exete kai java developers pelates ekei ston pyrgo?

moy dosate ? den milaw me bot gia java

Edited by pirama
Posted (edited)

9a empena ston kopo na sou eksigisw analitika giati einai etsi, ala eisai stokos. Tespa 9a s pw dio logia na pareis to ma9ima tis meras giati prepei na figw.

 

to remove() method 9es na ginei FORCE remove opote to next=null kai prev=null den prepei na einai mesa sta conditions, den eksartate apo ta conditions opote kai kapio la9os na ginei to remove 9a ginei 100%. Diavase ligo multithreading, deadlocks, syncrhonization, atomic access, volatile access kai sharing prin mpeis ston kopo na mou  xalaseis kialo xrono me tis paparies sou asxete wannabe.

 

Giafto ton logo ta = null mpikan teleftea

 

efiga, arketa kourases gia simera, misi wra einai ipervolika poly ftanei avrio pali.

Edited by xxdem
Posted (edited)

9a empena ston kopo na sou eksigisw analitika giati einai etsi, ala eisai stokos. Tespa 9a s pw dio logia na pareis to ma9ima tis meras giati prepei na figw.

 

to remove() method 9es na ginei FORCE remove opote to next=null kai prev=null den prepei na einai mesa sta conditions, den eksartate apo ta conditions opote kai kapio la9os na ginei to remove 9a ginei 100%. Diavase ligo multithreading, deadlocks, syncrhonization, atomic access, volatile access kai sharing prin mpeis ston kopo na mou  xalaseis kialo xrono me tis paparies sou asxete wannabe

 

efiga, arketa kourases gia simera, 30 wra einai poly ftanei avrio pali

a ok an to exeis kani etsi gia na apofigis anepithimetes litoyrgies to dexome oti den eisai aksios na kanis kati oloklirotika sosto kai oti ta petas mesa kai apla perimenis na doulepsoun

 

episis otan exeis xrono ( afoy twra exeis doylia ) pes moy ena paradigma pou opos eixes ton kodika tha douleye pio sosta apo ayton pou soy edosa egw

h apantisi einai pote den tha douleye pio sosta 

 

kai sta 10 xronia pou asxolise opos les tha eprepe na eixes mathi oti kati pou einai null den xriazete na ksana gini null

Edited by pirama
Posted

Σταυρουλη που εισαι και ξανθος και παχουλο αγορι που ποζαρις με τα μισοκλειστα ματια σου και το λευκο πουκαμισο δεν χαλαρωνεις λιγο? πολλα λες αντε

Posted

Σταυρουλη που εισαι και ξανθος και παχουλο αγορι που ποζαρις με τα μισοκλειστα ματια σου και το λευκο πουκαμισο δεν χαλαρωνεις λιγο? πολλα λες αντε

agapi me pantreyese eipes e? :wub:

Posted

Κατσε γιατι ο Σταυρος δεινει ρεστα σημερα, μαλλον κρυβεται στο γεγονος οτι κανεις δεν εχει δει τι φατσα του ακομη

Posted

Κατσε γιατι ο Σταυρος δεινει ρεστα σημερα, μαλλον κρυβεται στο γεγονος οτι κανεις δεν εχει δει τι φατσα του ακομη

ama einai na tin diksis na perimenis meta tis 4-5 na exoun faei oloi gia mesimeri

Posted (edited)

Malaka milaei o Pirama me to L2jTreliaris pou egrapse auto: http://pastebin.com/7jiYAHjJ ston xdem malaka.

se ayto poy dixnis to mono edit poy eixa kani einai na douleyh xoris polous Thread , o codikas einai toy SweeTs h toy Access den thimame ( pios apo toys 2 ton eixe kani share )

alla an psaksis ola ta post tha mporesis na to bris

 

an thelis na sxoliasis kati diko moy sxoliase ayto edw poy einai grameno apo emena

http://pastebin.com/5N8Ucu6n

Edited by pirama

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

    • Dynamic traffic, static ISP, unlimited traffic and bandwidth packages HTTP, HTTPS, SOCKS5 Over 195 countries/regions Over 100 million real residential IP address pools, with a normal uptime of 99.9%. Special discount code:VIP999
    • Here is the translation, formatted to look professional, clean, and highly scannable for your forum post: Hello L2JBrasil community! I present to you the newest development from MiaCodeWeb. We have created a robust and advanced adaptation of the Phantom system for aCis / L2JAcis 409, focused on Interlude C6 servers. Our main goal was to transform traditional "ornamental bots" into highly realistic, autonomous players. They are capable of creating themselves, restoring themselves, farming, auto-equipping, using skills, responding in chat using Artificial Intelligence, and being managed directly via an in-game panel. GitHub: https://github.com/miacodeweb/L2-Phantom-AI Video Demonstration: [Insert link here]   ## Main Features and Implementation We implemented the core of the Phantom system directly into the aCis gameserver. The architecture was divided into independent modules for AI, combat, chat, equipment, inventory, progression, logs, and administration. In-Game Admin Panel: Fully functional //phantom command. It allows you to create new phantoms, restore saved ones, reload configs, start/stop the AI, view online phantoms, kill bugged phantoms, delete them individually, and navigate through pages. Data Persistence: Created phantoms can be registered in phantoms.properties, allowing them to be restored later while maintaining all their progress directly from the database. Centralized Configuration: Everything is controlled by the phantoms.properties file, organized by sections: AI, Loot, Skills, Equipment, Zones, PVP/PK, Gemini (Chat), Logs, Respawn, and Anti-Stuck system. ## Phantom Skills and Behavior Smart Combat: They patrol, search for mobs, and claim targets to prevent multiple phantoms from attacking the same monster. Mages rest when they run out of MP and avoid hitting with physical weapons unnecessarily. Automatic Progression: Auto-learning of skills, automatic class changes following the logical tree of the chosen profession, receiving buffs, and inventory clearing when reaching a certain weight/space percentage. Dynamic Equipment System: They auto-equip based on class and level, using varying item combinations so they don't all look the same. Optimized Loot: Each phantom focuses on picking up drops/herbs from its own mob, avoiding that ugly scene of 10 phantoms chasing the same adena. PVP/PK Behavior (Configurable): Immediate response to attacks, detection of PK players in the visible area, and an optional "PK Rage Mode". ## AI and Movement Navigation and Anti-Stuck: Patrol system, free wandering, obstacle and stuck detection, with Geodata validation (when enabled on the server). Respawn: Automatic return to town after death, alongside safety rules to prevent them from getting permanently stuck in textures. Leveling Zones: Configurable leveling zones (automatic teleports to farm zones are disabled by default, as in Interlude/aCis they rely heavily on geodata accuracy and the real coordinates of your server). ## AI Chat Integration (Gemini 2.5 Flash) We integrated a Whisper system via the Gemini 2.5 Flash API, making the phantoms respond like real Lineage 2 players. Support for both free and paid API tiers. Configurable parameters: GeminiApiTier, Keys, Cooldowns, and DailyLimits. The system detects connection failures, API limits, and empty responses, and logs everything. The prompt has been adjusted so that the phantom doesn't reply with empty or robotic phrases when asked where to level up or what it's doing. ## Dedicated Log System We created an exclusive log file located at gameserver/log/phantoms.log. It records: loading of phantoms, auto-skills, buffs, Gemini API errors/successes, anti-stuck actions, kills/deletes by admin, and configuration issues. ## Simplified Distribution and Installation Thinking about ease of use for administrators, the mod is delivered in a ready-to-use package: phantom-acis-installer-client.zip. Includes an automatic PowerShell installer that injects the code into your Eclipse project. Contains README.md, INSTALL_MAP.md, and the payload/ folder with ready-made routes for aCis. Clean configuration files (without my API keys). Just run the installer over your copy of aCis, refresh Eclipse, compile, and test. ## Custom Jobs The project already has a solid and functional base for aCis 409. The ideal next steps would be to refine the farm routes by level and social behavior with long-term testing on live servers. I accept custom jobs! If you need this system adapted for another revision, exclusive modules, or any other development for your server, get in touch. Through MiaCodeWeb, I also offer complete services involving geodata optimization, advanced VPS administration (Linux), and Java backend management for L2J. Send a PM or visit the GitHub!   https://www.l2jbrasil.com/applications/core/interface/file/attachment.php?id=17801&key=135fc8d831b84c05089851b18bfca58a   Link dowload:https://github.com/miacodeweb/L2-Phantom-Acis-409
    • TG Support: https://t.me/buyingproxysup | Channel: https://t.me/buyingproxycom Discord support: #buyingproxy | Server: Join the BuyingProxy Discord Server!  Create your free account here
    • PERFECT PERSPECTIVE IS ALMOST ALWAYS A DEATH SENTENCE ▪ Think if the document lies perfectly flat and everything is “level” it’ll be fine? Most of the time, that’s exactly what gives away the fake. Real smartphones, especially wide-angle cameras, always add natural distortions: - Slight warping at the edges of the document - Perspective distortions in the corners - Light curvature of the plane due to distance and shooting angle When everything is perfectly flat and geometrically flawless — algorithms and verifiers immediately recognize a “staged scene.” ▪ A genuine shot is never mathematically perfect. It’s these small lens distortions that make the frame look alive and believable.  Want perspective that won’t raise questions even from the most demanding verifiers? Write to us — we’ll create geometry that looks like it was shot with a real phone in real conditions. › TG: @mustang_service_ms ( https:// t.me/ mustang_service_ms ) › Channel: Mustang Service ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documents #drawing #perspective #editing #geometry
  • 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..